Skip to content

Commit

Permalink
Update docker-publish-release.yaml (#318)
Browse files Browse the repository at this point in the history
* Update docker-publish-release.yaml

* Add "latest" and "stable" tags to docker images

* Add stable and latest if release tag does not contain rc or beta
  • Loading branch information
alvarof2 authored Feb 4, 2025
1 parent 659a5ac commit 3db0c2e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docker-publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
types: [published] # Trigger the workflow only when a release is published

jobs:
get-release-commit:
runs-on: ubuntu-latest

Build-Container-Release:
permissions:
contents: write
Expand All @@ -25,6 +22,6 @@ jobs:
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-op-geth-release/providers/github-by-repos
service-account: op-geth-release@blockchaintestsglobaltestnet.iam.gserviceaccount.com
artifact-registry: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-geth
tags: ${{ github.event.release.tag_name }}
tags: ${{ (contains(github.event.release.tag_name, 'rc') || contains(github.event.release.tag_name, 'beta')) && github.event.release.tag_name || format('{0},stable,latest', github.event.release.tag_name) }}
context: .
debug_enabled: false

0 comments on commit 3db0c2e

Please sign in to comment.