Skip to content

Commit

Permalink
Set version for build
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Verst authored and Robert Verst committed Jan 26, 2024
1 parent 05a07b6 commit 1f4b8d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: "VERSION=${{ steps.meta.outputs.version }}"
cache-from: type=gha
cache-to: type=gha,mode=max
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.20 AS BUILDER

ARG version=unknown
ARG VERSION=unknown

WORKDIR $GOPATH/src/github.com/rverst/dyndns

Expand Down

0 comments on commit 1f4b8d1

Please sign in to comment.