Comments (8)
@felipecrs https://github.com/crazy-max/ghaction-docker-meta#latest-tag
from metadata-action.
Got it. The docs says the tag-latest can be disabled if needed, but not deliberately enabled. Is that right?
Any tip on how I can achieve the same behavior as the Docker Hub Automated Build, pushing master branch to latest?
from metadata-action.
I believe the tag-latest
input should be respected if provided by the user no matter what. To implement that, its default value must not be true
anymore, then we treat the undefined
cases.
This is very similar to an old PR I made to the legacy docker action: docker/github-actions#20
from metadata-action.
@felipecrs I think you could specify a custom tag as latest in this case with tag-custom
input. Or maybe we could handle 3 states for tag-latest
: auto|true|false
.
from metadata-action.
@crazy-max Awesome. May I send a PR?
from metadata-action.
I experienced the same issue and am actually trying to build the master
branch as latest
. If you have a dedicated repository for the Docker builds, you can work around this limitation by renaming the master
branch to latest
🎩
from metadata-action.
As an alternative workaround you can do what I did at felipecrs/docker-images@1900c95.
from metadata-action.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from metadata-action.
Related Issues (20)
- Unable to verify the first certificate HOT 4
- latest tag README instructions cause errors HOT 4
- Unexpected tag is created for type=match HOT 1
- `latest` tag in auto-mode is applied to older major versions HOT 2
- Feature request and discussion: support of annotations HOT 4
- Metadata action does not properly distinguish bake matrix targets HOT 1
- IP address is not permitted to access this resource HOT 3
- Disable `main` tag when `latest` is enabled HOT 2
- Secrets exposed in some action output HOT 1
- org.opencontainers.image.source is missing from the annotations section of the manifests HOT 2
- Custom annotations HOT 1
- Action fails: Cannot find detached HEAD ref in "grafted, HEAD, tag: x.x.x" HOT 10
- Warning: No Docker image version has been generated. Check tags input. HOT 1
- Missing latest tag on type=match HOT 1
- Images cannot be empty as documentation suggests HOT 1
- v5.5.0 Broke docker/bake-action with docker-metadata-action HOT 4
- #370 breaks GitHub Actions build example HOT 3
- semver tag : allow outputing build information (part after plus) HOT 4
- Generating tags for multiple bake targets HOT 1
- `SOURCE_DATE_EPOCH` is not respected 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 metadata-action.