Comments (8)
Please have a look at https://github.com/elgohr/Publish-Docker-Github-Action/blob/master/README.md#snapshot
from publish-docker-github-action.
Big thumb on mobile. Sorry for closing
from publish-docker-github-action.
I've seen that. But that is just another tag. I would like my app to run the latest
tag, so that I don't have to change what runs with every build. But if something goes wrong, I'd like to know what code (git sha) is inside that docker image. That's what I have the label for.
from publish-docker-github-action.
Using snapshot
the image will have both, latest
and the snapshot tag.
from publish-docker-github-action.
I know. The latest
one will not have a label though.
from publish-docker-github-action.
Why would you need the label, if you have the tag?
from publish-docker-github-action.
Because of what I said above:
I would like my app to run the
latest
tag, so that I don't have to change what runs with every build. But if something goes wrong, I'd like to know what code (git sha) is inside that docker image. That's what I have the label for.
But I've resorted to just go with raw commands to build, it's only 15 lines in total. This is my build command:
docker build -t user/repo:${{ github.sha }} -t user/repo --label org.opencontainers.image.revision=${{ github.sha }} .
from publish-docker-github-action.
Ok, so I guess we can close this.
from publish-docker-github-action.
Related Issues (20)
- [BUG] tags example in README is deprecated HOT 2
- `tag_semver` does not recognize pre-releases HOT 1
- [BUG] Get https://***:6000/v2/: http: server gave HTTP response to HTTPS client
- [FEATURE] `no_push: true` should not complain about missing credentials HOT 5
- [BUG] Not logged in to https://index.docker.io/v1/ HOT 1
- Action Required: Fix Renovate Configuration HOT 1
- [BUG] Migrating from GitHub Packages Docker registry to GitHub Container Registry HOT 2
- "ca-certificates-20191127-r2: bad archive" error HOT 1
- [FEATURE]
- [FEATURE] Do not overwrite existing images HOT 4
- [BUG] docker:20.10.8 seem to break the test.bats HOT 15
- [BUG] Docker build failed with exit code 1 HOT 1
- [BUG] Example for using tags seems to be broken HOT 2
- Question: Action does not get the tag-information HOT 2
- [BUG] HOT 5
- [BUG] `sed` error when switching to v4 actions and built against tag HOT 8
- tag_semver is ignored for v4 HOT 6
- [BUG] ::set-output deprecated in actions HOT 7
- [BUG] Old tag confuses automated dependency updaters HOT 4
- [BUG] docker:not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from publish-docker-github-action.