Upgrade docker action dep
This commit is contained in:
parent
91c72729d8
commit
3a58ab452d
1 changed files with 5 additions and 5 deletions
10
.github/workflows/docker.yml
vendored
10
.github/workflows/docker.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
three="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\" }"
|
||||
|
||||
matrix="[$one,$two,$three]"
|
||||
echo ::set-output name=matrix::{\"include\":$(echo $matrix)}
|
||||
echo "name=matrix::{\"include\":$(echo $matrix)}" >> $GITHUB_OUTPUT
|
||||
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -45,13 +45,13 @@ jobs:
|
|||
steps:
|
||||
-
|
||||
name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
uses: docker/setup-qemu-action@v2
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
-
|
||||
name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
@ -63,7 +63,7 @@ jobs:
|
|||
ref: ${{ matrix.ref }}
|
||||
-
|
||||
name: Docker build
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: '.'
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
|
Loading…
Reference in a new issue