Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
fix: docker build ci
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzo committed May 28, 2024
1 parent 68b020f commit fe760dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
submodules: true

- name: Generate themes
- name: Generate and push image to ghcr
run: |
# build docker image for the ci
sh docker/build.sh -v no
# push the image to the registry
sh docker/push.sh -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}"
sh docker/push.sh -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion docker/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ $CONTAINER_TOOL login ghcr.io -u $USERNAME --password $PASSWORD
$CONTAINER_TOOL push "$IMAGE_NAME:latest"

# Execute docker push for specific version if VERSION is not "no"
if [ "$VERSION" == "no" ]; then
if [ "$VERSION" != "no" ]; then
$CONTAINER_TOOL push "$IMAGE_NAME:$VERSION"
fi

0 comments on commit fe760dd

Please sign in to comment.