Skip to content

Commit 00e7c31

Browse files
authored
Merge pull request #36 from TraGicCode/fix-docker-image-labels
Fix docker labels by manually setting them
2 parents 6ab8cad + 2806b85 commit 00e7c31

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/docker_build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,17 @@ jobs:
2929
username: tragiccode
3030
password: ${{ secrets.DOCKERHUB_TOKEN }}
3131

32+
# Revisit this. We should probably be triggering this off of a tag event.
33+
# Which would automatically tag the image with the version and latest and allow us to remove
34+
# the manual 'tags' property below
3235
- name: Extract metadata (tags, labels) for Docker
3336
id: meta
3437
uses: docker/metadata-action@v5
3538
with:
3639
images: tragiccode/busly-cli
40+
tags: |
41+
${{ inputs.version }}
42+
latest
3743
3844
- name: Build and push Docker image
3945
id: push

0 commit comments

Comments
 (0)