diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/docker.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9eae5d0fe..7bef508d1 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml | |||
@@ -29,7 +29,7 @@ jobs: | |||
29 | three="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\" }" | 29 | three="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\" }" |
30 | 30 | ||
31 | matrix="[$one,$two,$three]" | 31 | matrix="[$one,$two,$three]" |
32 | echo ::set-output name=matrix::{\"include\":$(echo $matrix)} | 32 | echo "name=matrix::{\"include\":$(echo $matrix)}" >> $GITHUB_OUTPUT |
33 | 33 | ||
34 | docker: | 34 | docker: |
35 | runs-on: ubuntu-latest | 35 | runs-on: ubuntu-latest |
@@ -45,13 +45,13 @@ jobs: | |||
45 | steps: | 45 | steps: |
46 | - | 46 | - |
47 | name: Set up QEMU | 47 | name: Set up QEMU |
48 | uses: docker/setup-qemu-action@v1 | 48 | uses: docker/setup-qemu-action@v2 |
49 | - | 49 | - |
50 | name: Set up Docker Buildx | 50 | name: Set up Docker Buildx |
51 | uses: docker/setup-buildx-action@v1 | 51 | uses: docker/setup-buildx-action@v2 |
52 | - | 52 | - |
53 | name: Login to DockerHub | 53 | name: Login to DockerHub |
54 | uses: docker/login-action@v1 | 54 | uses: docker/login-action@v2 |
55 | with: | 55 | with: |
56 | username: ${{ secrets.DOCKERHUB_USERNAME }} | 56 | username: ${{ secrets.DOCKERHUB_USERNAME }} |
57 | password: ${{ secrets.DOCKERHUB_TOKEN }} | 57 | password: ${{ secrets.DOCKERHUB_TOKEN }} |
@@ -63,7 +63,7 @@ jobs: | |||
63 | ref: ${{ matrix.ref }} | 63 | ref: ${{ matrix.ref }} |
64 | - | 64 | - |
65 | name: Docker build | 65 | name: Docker build |
66 | uses: docker/build-push-action@v2 | 66 | uses: docker/build-push-action@v3 |
67 | with: | 67 | with: |
68 | context: '.' | 68 | context: '.' |
69 | platforms: linux/amd64,linux/arm64 | 69 | platforms: linux/amd64,linux/arm64 |