Skip to content

Commit 5fcc3c0

Browse files
feat:docker build fix action
1 parent 7134d99 commit 5fcc3c0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/docker-build-push.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
type=raw,value=latest,enable={{is_default_branch}}
5252
5353
- name: Build and push Docker image
54+
id: build # ← Added this ID
5455
uses: docker/build-push-action@v5
5556
with:
5657
context: .
@@ -64,4 +65,4 @@ jobs:
6465

6566
- name: Image digest
6667
if: github.event_name != 'pull_request'
67-
run: echo "Image pushed with digest: ${{ steps['build-and-push'].outputs.digest }}"
68+
run: echo "Image pushed with digest: ${{ steps.build.outputs.digest }}" # ← Fixed reference

0 commit comments

Comments
 (0)