diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 7b5c4be..db90411 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -18,14 +18,14 @@ jobs: - uses: actions/checkout@v3 with: ref: "${{ github.ref_name }}" - + - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - + password: ${{ secrets.GITHUB_TOKEN }} + - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 @@ -35,8 +35,7 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: - context: backend + context: . push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - \ No newline at end of file