From 33deeb89543592f46cd8e90ec449e5319da89db4 Mon Sep 17 00:00:00 2001 From: Paul James Cleary Date: Wed, 1 Mar 2023 09:06:47 -0500 Subject: [PATCH] Update tag workflow --- .github/workflows/tag.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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