Skip to content

Commit

Permalink
Ok, trying this.
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgul committed Aug 20, 2023
1 parent 51761a5 commit b096061
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,8 @@ jobs:
- name: Push docker
if: success()
uses: actions-hub/docker@master
run: |
if [ "$VERSION" == "latest" ]
then
docker push morgul/rpgkeeper:latest
else
docker push morgul/rpgkeeper:${VERSION} -t morgul/rpgkeeper:latest
fi
# with:
# args: push morgul/rpgkeeper:${VERSION}
with:
args: push morgul/rpgkeeper:latest [ "$VERSION" -ne "latest" ] && morgul/rpgkeeper:${VERSION}

# Deploys Beta docker
deploy-beta:
Expand Down

0 comments on commit b096061

Please sign in to comment.