Skip to content

Commit

Permalink
Use commit SHA to tag container images
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKostka committed Jan 29, 2025
1 parent 132df3e commit 9f2358f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ on:
push:
branches:
- 'main'
tags:
- '*'
pull_request:
workflow_dispatch:

jobs:
docker-build:
Expand All @@ -21,6 +20,8 @@ jobs:
uses: crazy-max/ghaction-docker-meta@v3.6.0
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=sha
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1.2.0
Expand Down

0 comments on commit 9f2358f

Please sign in to comment.