Skip to content
Snippets Groups Projects
Unverified Commit 35a6544b authored by Anton Kostenko's avatar Anton Kostenko Committed by GitHub
Browse files

Add Git repo SHA to the final image for future tracking (#43260)

parent cd53c8af
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,8 @@ jobs:
platforms: linux/amd64
network: host
tags: localhost:5000/metabase-dev:${{ steps.extract_branch.outputs.branch }}-${{ matrix.edition }}
build-args: |
GIT_COMMIT_SHA=${{ github.sha }}
no-cache: true
push: true
- name: Launch ${{ matrix.edition }} container
......@@ -240,6 +242,8 @@ jobs:
file: bin/docker/Dockerfile_ubuntu
network: host
tags: localhost:5000/metabase-dev:${{ steps.extract_branch.outputs.branch }}-${{ matrix.edition }}-ubuntu
build-args: |
GIT_COMMIT_SHA=${{ github.sha }}
no-cache: true
push: true
- name: Launch ${{ matrix.edition }} Ubuntu based container
......
......@@ -2,6 +2,9 @@ FROM --platform=linux/amd64 eclipse-temurin:11-jre-alpine
ENV FC_LANG=en-US LC_CTYPE=en_US.UTF-8
ARG GIT_COMMIT_SHA
ENV GIT_COMMIT_SHA=${GIT_COMMIT_SHA}
# dependencies
RUN apk add -U bash fontconfig curl font-noto font-noto-arabic font-noto-hebrew font-noto-cjk java-cacerts && \
apk upgrade && \
......
......@@ -2,6 +2,9 @@ FROM eclipse-temurin:11-jre-jammy as runner
ENV FC_LANG=en-US LC_CTYPE=en_US.UTF-8
ARG GIT_COMMIT_SHA
ENV GIT_COMMIT_SHA=${GIT_COMMIT_SHA}
# Dependencies
RUN apt-get update && \
apt-get upgrade -y && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment