diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 74d4b3b..9aa2e6a 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -9,8 +9,8 @@ jobs: deploy: runs-on: docker container: - image: docker:latest - volumes: + image: docker:latest + volumes: - /var/run/docker.sock:/var/run/docker.sock steps: - name: Checkout @@ -19,15 +19,12 @@ jobs: https://${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASSWORD }}@git.lan.krilio.net/nuno/test-app.git \ . - - name: Login to registry + - name: Build and push run: | echo "${{ secrets.REGISTRY_PASSWORD }}" | \ docker login git.lan.krilio.net \ -u ${{ secrets.REGISTRY_USER }} \ --password-stdin - - - name: Build and push - run: | docker build -t git.lan.krilio.net/nuno/test-app:prod . docker push git.lan.krilio.net/nuno/test-app:prod