Skip to content

Commit

Permalink
fix: update github action steps
Browse files Browse the repository at this point in the history
  • Loading branch information
roleyfoley committed Sep 21, 2023
1 parent 6f0700c commit b34468d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: docker meta details
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{github.repository}}
Expand All @@ -49,10 +49,9 @@ jobs:
tags: |
type=edge,branch=master
type=semver,pattern={{version}}
type=sha
- name: Set up Docker
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
uses: docker/login-action@v3
Expand All @@ -62,7 +61,7 @@ jobs:
password: ${{ github.token }}

- name: Push Release
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
push: ${{ github.event_name == 'scheduled' || startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit b34468d

Please sign in to comment.