Skip to content

Commit b3ac312

Browse files
author
Layko Andrey
committed
some
1 parent c607f41 commit b3ac312

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,11 @@ jobs:
149149
chmod 700 ~/.ssh
150150
ssh-keyscan ${{ secrets.SPRINT_SERVER }} >> ~/.ssh/known_hosts
151151
chmod 644 ~/.ssh/known_hosts
152+
ls -a
152153
export DOCKER_HOST="ssh://gitlab@${{ secrets.SPRINT_SERVER }}"
153-
docker login -u openplatform -p CyGnkzv40yt
154+
docker login -u ${{ secrets.DOCKERHUB_USER_NAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
154155
docker-compose -f docker-compose-server.yml up -d
156+
docker image ls --filter reference=openplatform/open-state:${{ github.event.release.tag_name }} -q | tail -n +4 | xargs --no-run-if-empty docker image rm
155157
156158
157159

0 commit comments

Comments
 (0)