Skip to content

Commit f4adf0f

Browse files
feat(ci): update containers-publish workflow
1 parent fa4e6ee commit f4adf0f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/containers-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: "Containers: Publish"
22

33
on:
4-
push:
5-
tags: ["v*"]
4+
release:
5+
types: [published]
66

77
permissions:
88
packages: write
@@ -12,10 +12,10 @@ jobs:
1212
name: Build and Push
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v5
1616

1717
- name: Login to ghcr.io Docker registry
18-
uses: docker/login-action@v2
18+
uses: docker/login-action@v3
1919
with:
2020
registry: ghcr.io
2121
username: ${{ github.repository_owner }}

0 commit comments

Comments
 (0)