Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 68e785d

Browse files
authored
Update Actions workflow
1 parent 4897319 commit 68e785d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ name: Publish release
66
on:
77
release:
88
types: [published]
9+
push: {}
910

1011
env:
1112
REGISTRY: ghcr.io
@@ -23,21 +24,21 @@ jobs:
2324
uses: actions/checkout@v2
2425

2526
- name: Log in to the Container registry
26-
uses: docker/login-action@v1
27+
uses: docker/login-action@v2.2.0
2728
with:
2829
registry: ${{ env.REGISTRY }}
2930
username: ${{ github.actor }}
3031
password: ${{ secrets.GITHUB_TOKEN }}
3132

3233
- name: Extract metadata (tags, labels) for Docker
3334
id: meta
34-
uses: docker/metadata-action@v3
35+
uses: docker/metadata-action@v4.6.0
3536
with:
3637
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3738
tags: type=semver,pattern={{raw}}
3839

3940
- name: Build and push Docker image
40-
uses: docker/build-push-action@v2
41+
uses: docker/build-push-action@v4.1.1
4142
with:
4243
context: .
4344
push: true

0 commit comments

Comments
 (0)