Skip to content

Commit

Permalink
Update build action
Browse files Browse the repository at this point in the history
  • Loading branch information
pogzyb committed Apr 29, 2024
1 parent 714acb7 commit 68f3807
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: REVISION=$GITHUB_SHA,CREATED=$NOW
build-args: REVISION=$GITHUB_SHA,CREATED=$NOW,VERSION=${{ github.event.release.tag_name }}
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ RUN go build -o czdsdump .

FROM alpine:3.19

ARG VERSION
ARG CREATED
ARG REVISION

LABEL org.opencontainers.image.title="CZDSdump"
LABEL org.opencontainers.image.description="Tool for dumping the Centralized Zone Data System."
LABEL org.opencontainers.image.version=$VERSION
Expand Down

0 comments on commit 68f3807

Please sign in to comment.