Skip to content

Commit 33b4a27

Browse files
committed
Fix main publish workflow templating
1 parent 0afc005 commit 33b4a27

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,24 @@ jobs:
2424
- name: Log in to Docker Hub
2525
uses: docker/login-action@v3
2626
with:
27-
username: ${ secrets.DOCKER_HUB_USER }
28-
password: ${ secrets.DOCKER_HUB_PAT }
27+
username: ${{ secrets.DOCKER_HUB_USER }}
28+
password: ${{ secrets.DOCKER_HUB_PAT }}
2929

3030
- name: Set image tag
3131
run: |
3232
SHORT_SHA=$(git rev-parse --short HEAD)
3333
IMAGE_TAG="kuberhealthy/ssh-check:${SHORT_SHA}"
34-
echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_ENV
34+
echo "IMAGE_TAG=${{IMAGE_TAG}}" >> $GITHUB_ENV
3535
3636
- name: Build and push
3737
uses: docker/build-push-action@v6
3838
with:
3939
context: .
4040
file: ./Dockerfile
4141
push: true
42-
tags: ${ env.IMAGE_TAG }
42+
tags: ${{ env.IMAGE_TAG }}
4343

4444
- name: Publish summary
4545
run: |
4646
echo "Images pushed:" >> "$GITHUB_STEP_SUMMARY"
47-
echo "- ${ env.IMAGE_TAG }" >> "$GITHUB_STEP_SUMMARY"
47+
echo "- ${{ env.IMAGE_TAG }}" >> "$GITHUB_STEP_SUMMARY"

0 commit comments

Comments
 (0)