From b34468dc678ba202dd04882b9da9623f79ddb8a2 Mon Sep 17 00:00:00 2001 From: roleyfoley Date: Thu, 21 Sep 2023 19:09:16 +1000 Subject: [PATCH] fix: update github action steps --- .github/workflows/build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc65160..1f31a7e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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}} @@ -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 @@ -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 }}