From 6f92599afd4ff7562c299dcc263384650eb3dbdc Mon Sep 17 00:00:00 2001 From: Danny Gershman Date: Sat, 9 Mar 2024 14:46:59 -0500 Subject: [PATCH] naming image specifically --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77f27d4..b54c70f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,8 +28,8 @@ jobs: curl -LO https://socketzero-public.s3.us-gov-west-1.amazonaws.com/receiver/v$GITHUB_REF_NAME/socketzero-receiver-linux-amd64-v$GITHUB_REF_NAME mv socketzero-receiver-linux-amd64-v$GITHUB_REF_NAME socketzero-receiver set +o history && echo ${REGISTRY1_PASSWORD} | docker login registry1.dso.mil --username ${REGISTRY1_USERNAME} --password-stdin || set -o history - docker build -t ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:$GITHUB_REF_NAME . - docker push ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:$GITHUB_REF_NAME + docker build -t ghcr.io/${{ github.repository_owner }}/socketzero-receiver:$GITHUB_REF_NAME . + docker push ghcr.io/${{ github.repository_owner }}/socketzero-receiver:$GITHUB_REF_NAME env: SOCKETZERO_RECEIVER_VERSION: 0.0.2 REGISTRY1_USERNAME: ${{ secrets.REGISTRY1_USERNAME }}