Skip to content

Commit 4bed622

Browse files
committed
Update docker-publish gh action to match djangoproject.com
1 parent 9480528 commit 4bed622

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121

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

2929
- name: Extract metadata (tags, labels) for Docker
3030
id: meta
31-
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
31+
uses: docker/metadata-action@v5
3232
with:
3333
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3434
tags: |
@@ -38,7 +38,7 @@ jobs:
3838
type=sha
3939
4040
- name: Build and push Docker image
41-
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
41+
uses: docker/build-push-action@v6
4242
with:
4343
context: .
4444
push: true

0 commit comments

Comments
 (0)