Skip to content

Commit

Permalink
fix image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jtrouth committed Dec 19, 2023
1 parent b48b7a3 commit 2537bca
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
gcr.io/edc-int-6c5e/rubinobs-api,enable=true
# images: |
# gcr.io/skyviewer/rubinobs-api,enable=${{ github.ref != 'master' && github.ref_type != 'tag' }}
# gcr.io/edc-int-6c5e/rubinobs-api,enable=${{ github.ref == 'master' || github.ref == 'k8s-build-updates' }}
# gcr.io/edc-prod-eef0/rubinobs-api,enable=${{ github.ref_type == 'tag'}}
gcr.io/skyviewer/rubinobs-api,enable=${{ (github.ref != 'master' && github.ref_type != 'tag') || github.base_ref == 'develop' }}
gcr.io/edc-int-6c5e/rubinobs-api,enable=${{ github.ref == 'master' || github.base_ref == 'master'}}
gcr.io/edc-prod-eef0/rubinobs-api,enable=${{ github.ref_type == 'tag'}}
flavor: |
latest=true
latest=${{ github.event_name == 'push'}}
# generate Docker tags based on the following events/attributes
tags: |
type=schedule
Expand Down

0 comments on commit 2537bca

Please sign in to comment.