Skip to content

Commit

Permalink
cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
illinoisrobert committed Aug 5, 2024
1 parent 28f7c39 commit b9023cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,17 @@ jobs:

runs-on: ubuntu-latest

#env:
# IMAGE_TYPE: $(test "$GITHUB_REF_TYPE" = "tag" && echo xbeta || echo dev)
# IMAGE_TAG: $(test "$GITHUB_REF_TYPE" = "tag" && echo $GITHUB_REF_NAME)

steps:
- name: update image vars
run: |
if [ "$GITHUB_REF_TYPE" = "tag" ]
then
echo IMAGE_TYPE=xbeta
echo IMAGE_TYPE=beta
echo IMAGE_TAG=$GITHUB_REF_NAME
else
echo IMAGE_TYPE=dev
echo IMAGE_TAG=
fi >> $GITHUB_ENV
- name: env
run: env
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion beta/docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# ./docker-build.shy beta $tag
# This creates ghcr.io/iti/pcesapps-beta:$tag

pfx="ghcr.io/illinoisadams/doc-test"
#pfx="ghcr.io/illinoisadams/doc-test"
pfx="ghcr.io/iti/pcesapps"

now=$(date -u +%F-%H-%M-%S)
Expand Down

0 comments on commit b9023cf

Please sign in to comment.