potiuk commented on a change in pull request #13726:
URL: https://github.com/apache/airflow/pull/13726#discussion_r559225071
##########
File path: Dockerfile
##########
@@ -477,8 +495,22 @@ LABEL org.apache.airflow.distro="debian" \
org.apache.airflow.version="${AIRFLOW_VERSION}" \
org.apache.airflow.uid="${AIRFLOW_UID}" \
org.apache.airflow.gid="${AIRFLOW_GID}" \
- org.apache.airflow.mainImage.buildId=${BUILD_ID} \
- org.apache.airflow.mainImage.commitSha=${COMMIT_SHA}
+ org.apache.airflow.mainImage.buildId="${BUILD_ID}" \
Review comment:
FYI. GCR uses standard OCI `org.opencontainers.image.source` label to
link image to the repository. This is an interesting idea and seems to work
well. I used the opportunity to add all predefined OCI labels so our image is
following the standards. That includes human-readable descriptions, versions,
URLs etc. I still leave the "org.apache." ones for backwards compatibility.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]