Skip to content

Commit 197d09a

Browse files
committed
fix: STRF-12935 Fix docker image publishing
1 parent a32a36b commit 197d09a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release_image.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Stencil CLI
1+
name: Docker image release
22

33
on:
44
release:
5-
types: [created]
5+
types: [published]
66

77
jobs:
88
build-and-push-image:
@@ -18,20 +18,20 @@ jobs:
1818
uses: actions/checkout@v4
1919

2020
- name: Log in to the Container registry
21-
uses: docker/login-action@v2
21+
uses: docker/login-action@v3
2222
with:
2323
registry: ${{ env.REGISTRY }}
2424
username: ${{ github.actor }}
2525
password: ${{ secrets.GITHUB_TOKEN }}
2626

2727
- name: Extract metadata (tags, labels) for Docker
2828
id: meta
29-
uses: docker/metadata-action@v4
29+
uses: docker/metadata-action@v5
3030
with:
3131
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3232

3333
- name: Build and push Docker image
34-
uses: docker/build-push-action@v3
34+
uses: docker/build-push-action@v6
3535
with:
3636
context: .
3737
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)