Skip to content

Commit ed0c35e

Browse files
committed
Update publish docker image manual github action
1 parent 8d02739 commit ed0c35e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/docker-publish-manual.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,29 @@ jobs:
2020
- uses: actions/checkout@v2
2121

2222
- name: Docker meta
23-
id: docker_meta
24-
uses: crazy-max/ghaction-docker-meta@v1
23+
id: meta
24+
uses: docker/metadata-action@v4
2525
with:
2626
images: |
2727
pythonopenapi/openapi-spec-validator
2828
tags: |
2929
type=semver,pattern={{version}},value=${{ github.event.inputs.version }}
3030
3131
- name: Set up QEMU
32-
uses: docker/setup-qemu-action@v1
32+
uses: docker/setup-qemu-action@v2
3333

3434
- name: Set up Docker Buildx
35-
uses: docker/setup-buildx-action@v1
35+
uses: docker/setup-buildx-action@v2
3636

3737
- name: Login to DockerHub
3838
if: github.event.inputs.push
39-
uses: docker/login-action@v1
39+
uses: docker/login-action@v2
4040
with:
4141
username: ${{ secrets.DOCKERHUB_USERNAME }}
4242
password: ${{ secrets.DOCKERHUB_TOKEN }}
4343

4444
- name: Build and push
45-
uses: docker/build-push-action@v2
45+
uses: docker/build-push-action@v4
4646
with:
4747
context: .
4848
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)