diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 09f45e8..3d65749 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -17,9 +17,6 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Build - run: docker build -t git.1159.cl/mario1159/1159cl:latest . - - name: Authentication uses: docker/login-action@v2 with: @@ -27,5 +24,9 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITEA_TOKEN }} - - name: Push - run: push git.1159.cl/mario1159/1159cl:latest + - name: Build and push + uses: docker/build-push-action@v4 + with: + push: true + tags: mario1159/1159cl:latest +