Skip to content

Commit

Permalink
Merge pull request #13 from geoblocks/fix-ci
Browse files Browse the repository at this point in the history
fix(CI): access to env vars
  • Loading branch information
tyrossel authored Oct 24, 2024
2 parents 63c3216 + 78144d6 commit 4e334d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ${DOCKER_REGISTRY}
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push ngv
uses: docker/build-push-action@v6
with:
push: true
tags: ${DOCKER_REGISTRY}/${DOCKER_IMG_NAME}:${DOCKER_TAG}
tags: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMG_NAME }}:${{ env.DOCKER_TAG }}
- name: Update images sha
id: get_image_sha
run: echo "img_sha=$(docker inspect --format='{{index .RepoDigests 0}}' '${DOCKER_REGISTRY}/${DOCKER_IMG_NAME}:${DOCKER_TAG}' | cut -d':' -f2)" >> $GITHUB_OUTPUT;
Expand Down

0 comments on commit 4e334d0

Please sign in to comment.