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
error "Running Determine Image Tags on a commit that isn't a tag or a branch."
exit 1
fi
set_output tags ${_tags}
set_output should_push ${_should_push}
shell: bash
I'd like to update to docker's metadata action for the following reasons:
The dev image does not put a v prefixing the image version while the pro image does. This is confusing and switching to the metadata action would resolve this.
The pro image just inherits the labels from the dev image which, most confusingly, includes a version label which actually corresponds to the dev image version and not the ldmx-sw version. Switching to the metadata action would resolve this.
The pro image doesn't have any arm builds. We could attach the image building runner at UMN to this repository as well and use it here to make sure the pro image also has arm builds.
The text was updated successfully, but these errors were encountered:
If you are on an Apple Silicon computer - the most common (or only?) situation where an ARM-architecture production image is required, then you can build the production image locally and use it the same way as someone who can pull the centrally-built images. You would probably see something like
$ denv init ldmx/pro:v4.1.0
v4.1.0: Pulling from ldmx/pro
no matching manifest for linux/arm64/v8 in the manifest list entries
This error message points out that we currently don't build ARM images for the production image (thus the linux/arm64/v8 is not one of the "entries" in the "manifest").
Same as if you could use the ldmx/pro image on your ARM machine.
denv init ldmx/pro:<version>
The only difference is that the available <version>s are only the ones you build with the above procedure. Reminder: denv init should occur in some other directory besides ldmx-sw to keep the environments separate. Stay organized and have different directories for you different projects!
In the development image, we use docker's metadata action to deduce the tags and labels for the image.
https://github.com/LDMX-Software/docker/blob/1c729e21b606ac9400e2e29c184a645e14c39338/.github/workflows/ci.yml#L36-L41
but here, we use some scripting I threw together since this action wasn't available at the time.
ldmx-sw/.github/workflows/build_production_image.yml
Lines 44 to 76 in 0018079
I'd like to update to docker's metadata action for the following reasons:
v
prefixing the image version while the pro image does. This is confusing and switching to the metadata action would resolve this.The text was updated successfully, but these errors were encountered: