Skip to content

Commit

Permalink
upgraded build to allow tags for docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshanley committed Oct 2, 2024
1 parent 5f31f49 commit 4e52be2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ jobs:
id: go

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
fetch-depth: 50
fetch-tags: true
show-progress: true

- name: Check go mod tidy is up to date
run: go mod tidy && git diff --exit-code
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
fetch-depth: 50
fetch-tags: true
show-progress: true

- name: Set version
id: vars
Expand Down Expand Up @@ -77,7 +80,10 @@ jobs:
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
fetch-depth: 50
fetch-tags: true
show-progress: true

- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand Down

0 comments on commit 4e52be2

Please sign in to comment.