Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Oct 10, 2024
1 parent 4bbc8ff commit 26a85b2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# fetch all history to include latest tag for the git revision info
fetch-depth: 0
Expand Down Expand Up @@ -55,27 +55,27 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# fetch all history to include latest tag for the git revision info
fetch-depth: 0

- 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

- name: Log in to GitHub Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: vifebot
password: ${{ secrets.VIFEBOTS_GITHUB_TOKEN }}

- name: Log in to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
username: vifebot
Expand All @@ -85,7 +85,7 @@ jobs:
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/edirom/mermeid
Expand All @@ -98,7 +98,7 @@ jobs:
# subsequent steps will use this image from cache
# see https://github.com/docker/build-push-action/blob/master/docs/advanced/test-before-push.md
- name: Build and export to Docker
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
load: true
Expand All @@ -120,7 +120,7 @@ jobs:
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
if: github.event_name != 'pull_request'
with:
context: .
Expand Down

0 comments on commit 26a85b2

Please sign in to comment.