Skip to content

Commit

Permalink
ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
illinoisrobert committed Aug 5, 2024
1 parent 4fd0434 commit 2931f1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ 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: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand All @@ -23,4 +27,4 @@ jobs:

- uses: actions/checkout@v4
- name: Build the Docker image
run: cd beta && ./docker-build.sh test $GITHUB_REF_NAME
run: cd beta && ./docker-build.sh $IMAGE_TYPE $IMAGE_TAG

0 comments on commit 2931f1f

Please sign in to comment.