Skip to content

Commit

Permalink
Update actions repos tags
Browse files Browse the repository at this point in the history
  • Loading branch information
alorence committed Dec 13, 2024
1 parent 3be9b22 commit 0445279
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,24 @@ jobs:

steps:
- name: Check out the repo
uses: actions/checkout@v4
uses: actions/checkout@v4.2.2

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v3.2.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up Buildx
uses: docker/setup-buildx-action@v3.7.1

- name: Log in to the GitHub Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
- name: Login to the GitHub Container Registry
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
- name: Configure metadata
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: docker/metadata-action@v5.6.1
with:
images: ${{ env.IMAGE_NAME }}
annotations: |
Expand All @@ -55,9 +55,10 @@ jobs:
type=semver,pattern={{version}},value=${{ env.VERSION }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.VERSION }}
type=semver,pattern={{major}},value=${{ env.VERSION }}
- name: Build and push Docker image
id: push
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
uses: docker/build-push-action@v6.10.0
with:
context: .
file: ./Dockerfile
Expand All @@ -70,7 +71,7 @@ jobs:
VERSION=${{ env.VERSION }}
# - name: Generate artifact attestation
# uses: actions/attest-build-provenance@v1
# uses: actions/attest-build-provenance@v2.1.0
# with:
# subject-name: ${{ env.IMAGE_NAME}}
# subject-digest: ${{ steps.push.outputs.digest }}
Expand Down

0 comments on commit 0445279

Please sign in to comment.