Skip to content

Commit d77aab6

Browse files
committed
ci: simplify Docker image metadata configuration
Remove semver pattern and labels from the metadata action to streamline the Docker image build process in the GitHub Actions workflow.
1 parent 1a37470 commit d77aab6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ jobs:
3939
type=raw,value=latest
4040
type=sha,prefix={{branch}}-
4141
type=ref,event=branch
42-
type=semver,pattern={{version}}
43-
labels: |
44-
org.opencontainers.image.source=${{ github.repositoryUrl }}
45-
org.opencontainers.image.revision=${{ github.sha }}
46-
org.opencontainers.image.created=${{ steps.meta.outputs.created }}
42+
4743
4844
- name: Build and push Docker image
4945
uses: docker/build-push-action@v4

0 commit comments

Comments
 (0)