Skip to content

Commit

Permalink
Updated Workflow versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcombs committed Nov 12, 2024
1 parent 86ac6f9 commit d8d2c90
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # for proper signature verification
submodules: true # for shunit2
Expand All @@ -28,22 +28,22 @@ jobs:
with:
ignore_paths: tests/shunit2
- 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
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Debian Image for Testing
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
load: true
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Test Debian Image
run: tests/run ${{ github.repository }}:debian
- name: Build Alpine Image for Testing
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile-alpine
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Test Alpine Image
run: tests/run ${{ github.repository }}:alpine
- name: Build & Push Debian Image to Docker Hub
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
Expand All @@ -75,7 +75,7 @@ jobs:
org.opencontainers.image.revision=$GITHUB_SHA
org.opencontainers.image.created=$(date --rfc-3339=seconds)
- name: Build & Push Alpine Image to Docker Hub
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile-alpine
Expand All @@ -88,7 +88,7 @@ jobs:
org.opencontainers.image.revision=$GITHUB_SHA
org.opencontainers.image.created=$(date --rfc-3339=seconds)
- name: Build & Push Debian Image to GitHub Container Registry
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
Expand All @@ -101,7 +101,7 @@ jobs:
org.opencontainers.image.revision=$GITHUB_SHA
org.opencontainers.image.created=$(date --rfc-3339=seconds)
- name: Build & Push Alpine Image to GitHub Container Registry
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile-alpine
Expand Down

0 comments on commit d8d2c90

Please sign in to comment.