Skip to content

Commit

Permalink
ci: change docker image tagging
Browse files Browse the repository at this point in the history
- latest will be used for manual releases (instead of any push to master)
- require semver
  • Loading branch information
PabloCastellano committed Jun 20, 2024
1 parent 36d20f1 commit f92e90d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
images: blossomlabs/blobscan-indexer
tags: |
type=ref,event=branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
- name: Login to DockerHub
if: github.event_name != 'pull_request'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Release new version and deploy production
on:
push:
tags:
- "v*"

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -56,8 +55,7 @@ jobs:
with:
images: blossomlabs/blobscan-indexer
tags: |
type=ref,event=tag
type=raw,value=stable
type=semver,pattern={{version}}
- name: Login to DockerHub
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit f92e90d

Please sign in to comment.