ci(workflows): update docker related actions

This commit is contained in:
kunish 2023-09-17 13:20:13 +08:00
parent 802be4e426
commit e2f2a4cd14
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -68,21 +68,21 @@ jobs:
- uses: actions/checkout@v3
- name: set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: set up docker buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
id: buildx
- name: login to ghcr.io
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build and publish ghcr.io docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
builder: ${{ steps.buildx.outputs.name }}