1
0
Fork 0

Upgrade docker action dep

This commit is contained in:
Chocobozzz 2022-10-31 09:24:31 +01:00
parent 91c72729d8
commit 3a58ab452d
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -29,7 +29,7 @@ jobs:
three="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\" }" three="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\" }"
matrix="[$one,$two,$three]" matrix="[$one,$two,$three]"
echo ::set-output name=matrix::{\"include\":$(echo $matrix)} echo "name=matrix::{\"include\":$(echo $matrix)}" >> $GITHUB_OUTPUT
docker: docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -45,13 +45,13 @@ jobs:
steps: steps:
- -
name: Set up QEMU name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v2
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v2
- -
name: Login to DockerHub name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
@ -63,7 +63,7 @@ jobs:
ref: ${{ matrix.ref }} ref: ${{ matrix.ref }}
- -
name: Docker build name: Docker build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
context: '.' context: '.'
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64