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

Commit fe760dd

Browse files
committed
fix: docker build ci
1 parent 68b020f commit fe760dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
with:
1919
submodules: true
2020

21-
- name: Generate themes
21+
- name: Generate and push image to ghcr
2222
run: |
2323
# build docker image for the ci
2424
sh docker/build.sh -v no
2525
2626
# push the image to the registry
27-
sh docker/push.sh -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}"
27+
sh docker/push.sh -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}"

docker/push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ $CONTAINER_TOOL login ghcr.io -u $USERNAME --password $PASSWORD
6161
$CONTAINER_TOOL push "$IMAGE_NAME:latest"
6262

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

0 commit comments

Comments
 (0)