Skip to content

Commit 379f95a

Browse files
committed
chore: update ghcr-publish.yml
1 parent 76c9e2a commit 379f95a

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/ghcr-publish.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,32 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Get Short SHA
16-
uses: benjlevesque/short-sha@v2.1
16+
uses: benjlevesque/short-sha@v2.2
1717
id: short-sha
1818
with:
1919
length: 7
2020

2121
- name: Checkout
22-
uses: actions/checkout@v3.4.0
22+
uses: actions/checkout@v4.1.1
2323

2424
- name: Log into GHCR
2525
run: echo "${{ secrets.GIT_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
2626

2727
- name: Set up QEMU
28-
uses: docker/setup-qemu-action@v2.1.0
28+
uses: docker/setup-qemu-action@v3.0.0
2929
with:
3030
image: tonistiigi/binfmt:latest
3131
platforms: all
3232

3333
- name: Set up Docker Buildx
34-
uses: docker/setup-buildx-action@v2.5.0
34+
uses: docker/setup-buildx-action@v3.0.0
3535
with:
3636
install: true
3737
version: latest
3838
driver-opts: image=moby/buildkit:master
3939

4040
- name: Build and push amd64
41-
uses: docker/build-push-action@v4
41+
uses: docker/build-push-action@v5.1.0
4242
with:
4343
context: ./
4444
file: ./Dockerfile
@@ -53,7 +53,7 @@ jobs:
5353
ARCH=amd64
5454
5555
- name: Build and push aarch64
56-
uses: docker/build-push-action@v4
56+
uses: docker/build-push-action@v5.1.0
5757
with:
5858
context: ./
5959
file: ./Dockerfile
@@ -82,6 +82,8 @@ jobs:
8282
topic: ${{ secrets.NTFY_TOPIC }}
8383
tags: github,action,+1,partying_face
8484
priority: 4
85+
image: true
86+
actions: 'default'
8587
details: 'Workflow has been completed successfully!'
8688
headers: '${{ secrets.NTFY_HEADERS }}'
8789

@@ -93,6 +95,8 @@ jobs:
9395
topic: ${{ secrets.NTFY_TOPIC }}
9496
tags: github,action,failed,rotating_light
9597
priority: 5
98+
image: true
99+
actions: 'default'
96100
details: 'Workflow has failed!'
97101
headers: '${{ secrets.NTFY_HEADERS }}'
98102

@@ -105,3 +109,5 @@ jobs:
105109
tags: github,action,cancelled,skull
106110
details: 'Workflow has been cancelled!'
107111
headers: '${{ secrets.NTFY_HEADERS }}'
112+
image: true
113+
actions: 'default'

0 commit comments

Comments
 (0)