Skip to content

Commit

Permalink
small improvement to docker pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Silleellie committed Aug 5, 2024
1 parent e3c3421 commit bde877b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
latest:
type: boolean
description: "Check this if the docker image should be tagged also with the 'latest' tag"
description: "Tag image also as 'latest'"
default: false

env:
Expand Down Expand Up @@ -33,7 +33,9 @@ jobs:
-
if: inputs.latest == true
name: Append 'latest' tag to docker image
run: echo "${IMAGE_TAG},silleellie/laikallm:latest" >> $GITHUB_ENV
run: |
echo "${IMAGE_TAG},silleellie/laikallm:latest" >> $GITHUB_ENV
echo $IMAGE_TAG
-
name: Build and push
uses: docker/build-push-action@v6
Expand Down

0 comments on commit bde877b

Please sign in to comment.