From cfa2f202c4fcd409ff916367294f55465608ea58 Mon Sep 17 00:00:00 2001 From: Bruno <15909838+thetoolsmith@users.noreply.github.com> Date: Tue, 14 Jan 2025 09:46:04 -0500 Subject: [PATCH] reset image name, gha package access updated --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5b61ac1..dca45dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,9 +22,9 @@ jobs: - name: 'Build Image' id: build run: | - docker build -t ghcr.io/cfpb/regtech/sbl/regtech-mail-api-latest:latest -f Dockerfile . - docker tag ghcr.io/cfpb/regtech/sbl/regtech-mail-api-latest:latest ghcr.io/cfpb/regtech/sbl/regtech-mail-api:${{env.TAG_VERSION}} - docker tag ghcr.io/cfpb/regtech/sbl/regtech-mail-api-latest:latest ghcr.io/cfpb/regtech/sbl/regtech-mail-api:${{env.TAG_VERSION}}_${{github.run_number}}.${{github.run_attempt}} + docker build -t ghcr.io/cfpb/regtech/sbl/regtech-mail-api:latest -f Dockerfile . + docker tag ghcr.io/cfpb/regtech/sbl/regtech-mail-api:latest ghcr.io/cfpb/regtech/sbl/regtech-mail-api:${{env.TAG_VERSION}} + docker tag ghcr.io/cfpb/regtech/sbl/regtech-mail-api:latest ghcr.io/cfpb/regtech/sbl/regtech-mail-api:${{env.TAG_VERSION}}_${{github.run_number}}.${{github.run_attempt}} - name: 'Login to GitHub Container Registry' id: login @@ -39,5 +39,5 @@ jobs: id: publish if: github.ref == 'refs/heads/main' && steps.login.conclusion == 'success' run: | - docker push ghcr.io/cfpb/regtech/sbl/regtech-mail-api-latest --all-tags + docker push ghcr.io/cfpb/regtech/sbl/regtech-mail-api --all-tags