mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Fix tagging branch name in development Docker publish (#2167)
This commit is contained in:
parent
e9c4103839
commit
8b04b84b0c
1 changed files with 2 additions and 2 deletions
|
|
@ -68,9 +68,9 @@ jobs:
|
|||
env:
|
||||
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
|
||||
|
||||
- name: Tag Docker image as branch
|
||||
- name: Tag image with branch name
|
||||
if: ${{ !github.event.pull_request.head.sha }}
|
||||
run: docker tag fleetdm/fleet fleetdm/fleet:$(git rev-parse --abbrev-ref HEAD)
|
||||
run: docker tag fleetdm/fleet:$(git rev-parse --short HEAD) fleetdm/fleet:$(git rev-parse --abbrev-ref HEAD)
|
||||
|
||||
# Explicitly push the docker images as GoReleaser will not do so in snapshot mode
|
||||
- name: Publish Docker images
|
||||
|
|
|
|||
Loading…
Reference in a new issue