From 09d8c94e49e1ddf85a2f2aeceb42f8ce0fd5be5a Mon Sep 17 00:00:00 2001 From: Konstantin Dobler Date: Tue, 7 Nov 2023 11:04:30 +0100 Subject: [PATCH] add git tag to docker --- .github/workflows/docker.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b91d81d..4e129d6 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -49,4 +49,4 @@ jobs: platforms: linux/amd64 push: true # change these tags to match your Docker Hub repo - tags: konstantinjdobler/nlp-research-template:pytorch${{env.TORCH_VERSION_AMD}}-cuda${{env.CUDA_VERSION_AMD}}, konstantinjdobler/nlp-research-template:latest + tags: konstantinjdobler/nlp-research-template:pytorch${{env.TORCH_VERSION_AMD}}-cuda${{env.CUDA_VERSION_AMD}}, konstantinjdobler/nlp-research-template:latest, konstantinjdobler/nlp-research-template:git-${{ github.sha }} diff --git a/Dockerfile b/Dockerfile index ec13e66..5885b28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -144,4 +144,4 @@ USER $MAMBA_USER ARG MAMBA_DOCKERFILE_ACTIVATE=1 RUN micromamba config prepend channels conda-forge --env # Disable micromamba banner at every command -RUN micromamba config set show_banner false --env \ No newline at end of file +RUN micromamba config set show_banner false --env