Skip to content

Commit

Permalink
Properly reference the variables for real
Browse files Browse the repository at this point in the history
  • Loading branch information
podhrmic committed Jun 12, 2024
1 parent 3ba0388 commit 24d8a9a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
echo "Building ${{env.CERBERUS_IMAGE_ID}}"
cd src/cerberus
make -f Makefile_docker release
docker tag cerberus:release $CERBERUS_IMAGE_ID
docker tag cerberus:release ${{env.CERBERUS_IMAGE_ID}}
- name: Push the Docker image
run: docker push $CERBERUS_IMAGE_ID
run: docker push ${{env.CERBERUS_IMAGE_ID}}
- name: Log out
run: docker logout

Expand All @@ -69,7 +69,9 @@ jobs:
password: ${{ secrets.VERSE_OPENSUT_ACCESS_TOKEN }}
- name: Build the Docker image
run: |
echo "Building $OPENSUT_BASE_IMAGE_ID"
docker build . --file Dockerfile --tag $OPENSUT_BASE_IMAGE_ID
echo "Building ${{env.OPENSUT_BASE_IMAGE_ID}}"
docker build . --file Dockerfile --tag ${{env.OPENSUT_BASE_IMAGE_ID}}
- name: Push the Docker image
run: docker push $OPENSUT_BASE_IMAGE_ID
run: docker push ${{env.OPENSUT_BASE_IMAGE_ID}}
- name: Log out
run: docker logout

0 comments on commit 24d8a9a

Please sign in to comment.