You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently switched to using earthly, which now builds and also pushes the docker images.
With my earthly build, I can pass a --tags argument which is a single string that should contain all tags, e.g. latest,sha-12095h,v.0.31.2.
I'm trying to get such a string from ${{ steps.meta.outputs.tags }}", but I'm getting the full joepmeneer/atomic-server:sha-124124 thing instead of just sha-124124. Any ideas on how to do this?
I suppose in some way I was expecting outputs.tags to only include the tags, like tag1,tag2, but it does image:tag1,image:tag2
EDIT: I ended up changing what arguments I pass to include the full tags intead of only doing a comma-seperated final part.
EDIT 2: I think I'm having a massive brain-fart. I'm not sure where I got the idea that docker supports comma-seperated tags like that, but I suppose it's wrong!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've recently switched to using
earthly
, which now builds and also pushes the docker images.With my earthly build, I can pass a
--tags
argument which is a single string that should contain all tags, e.g.latest,sha-12095h,v.0.31.2
.I'm trying to get such a string from
${{ steps.meta.outputs.tags }}"
, but I'm getting the fulljoepmeneer/atomic-server:sha-124124
thing instead of justsha-124124
. Any ideas on how to do this?I suppose in some way I was expecting
outputs.tags
to only include the tags, liketag1,tag2
, but it doesimage:tag1,image:tag2
EDIT: I ended up changing what arguments I pass to include the full tags intead of only doing a comma-seperated final part.
EDIT 2: I think I'm having a massive brain-fart. I'm not sure where I got the idea that docker supports comma-seperated tags like that, but I suppose it's wrong!
Beta Was this translation helpful? Give feedback.
All reactions