Skip to content

Commit

Permalink
Label built image with latest and version number
Browse files Browse the repository at this point in the history
  • Loading branch information
scadaguru committed Jan 13, 2024
1 parent 96ac590 commit 4cc8b64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ jobs:
docker login --username scadaguru --password ${{ secrets.GHCR_TOKEN }} ghcr.io
docker build . -t ghcr.io/scadaguru/test-auto-docker-build:v0.0.1
docker push ghcr.io/scadaguru/test-auto-docker-build:v0.0.1
docker push ghcr.io/scadaguru/test-auto-docker-build:latest
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
#build:
#context: .
#image: test-auto-docker-build
image: ghcr.io/scadaguru/test-auto-docker-build:69f8d8550a477525e951cd90ebdc7e3edb05ccbe
image: ghcr.io/scadaguru/test-auto-docker-build:latest
container_name: test-auto-docker-build
volumes:
- ./:/config
Expand Down

0 comments on commit 4cc8b64

Please sign in to comment.