Skip to content

Commit

Permalink
ci: bump docker actions to the latest stable release
Browse files Browse the repository at this point in the history
* bump `docker/build-push-action` to v3
* bump `docker/login-action` to v2
* bump `docker/setup-buildx-action` to v2
* bump `docker/setup-qemu-action` to v2
  • Loading branch information
andyholmes committed Sep 23, 2022
1 parent b5c6a4e commit 4c17502
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
uses: actions/[email protected]

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1.1.1
uses: docker/setup-buildx-action@v2
with:
driver-opts: network=host

Expand All @@ -89,7 +89,7 @@ jobs:
${{ runner.os }}-buildx-
- name: Build & push the Fedora base image to local registry
uses: docker/build-push-action@v2.2.2
uses: docker/build-push-action@v3
with:
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
Expand All @@ -100,7 +100,7 @@ jobs:
tags: localhost:5000/fedora-base:latest

- name: Login to Docker Hub
uses: docker/login-action@v1.8.0
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -114,7 +114,7 @@ jobs:
RUN --security=insecure flatpak install -y --noninteractive ${{matrix.runtime.remote}} ${{ matrix.runtime.packages }}
- name: Build & push the ${{ matrix.runtime.name }} image to Docker Hub
uses: docker/build-push-action@v2.2.2
uses: docker/build-push-action@v3
with:
allow: security.insecure
context: .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flatpak-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
dnf -y install docker
- name: Set up QEMU
if: ${{ matrix.arch != 'x86_64' }}
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- uses: ./flatpak-builder
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
dnf -y install docker
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
Expand Down

0 comments on commit 4c17502

Please sign in to comment.