mirror of https://github.com/status-im/consul.git
Remove Duplicate UBI Tags (#19737)
- Amalgamate UBI with Dockerhub and Redhat tags into one step - Avoids a production incident that errors on duplicate tags: https://github.com/hashicorp/releng-support/issues/123
This commit is contained in:
parent
2d1f308138
commit
2eebdb22ba
|
@ -321,28 +321,8 @@ jobs:
|
|||
docker.io/hashicorppreview/${{ env.repo }}:${{ env.minor_dev_tag }}-${{ github.sha }}
|
||||
smoke_test: .github/scripts/verify_docker.sh v${{ env.version }}
|
||||
|
||||
build-docker-ubi-redhat:
|
||||
name: Docker Build UBI Image for RedHat Registry
|
||||
needs:
|
||||
- set-product-version
|
||||
- build
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
repo: ${{github.event.repository.name}}
|
||||
version: ${{needs.set-product-version.outputs.product-version}}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||||
- uses: hashicorp/actions-docker-build@v1
|
||||
with:
|
||||
version: ${{env.version}}
|
||||
target: ubi
|
||||
arch: amd64
|
||||
redhat_tag: quay.io/redhat-isv-containers/60f9fdbec3a80eac643abedf:${{env.version}}-ubi
|
||||
smoke_test: .github/scripts/verify_docker.sh v${{ env.version }}
|
||||
|
||||
build-docker-ubi-dockerhub:
|
||||
name: Docker Build UBI Image for DockerHub
|
||||
name: Docker Build UBI Images
|
||||
needs:
|
||||
- set-product-version
|
||||
- build
|
||||
|
@ -377,6 +357,7 @@ jobs:
|
|||
docker.io/hashicorppreview/${{ env.repo }}:${{ env.minor_dev_tag }}-ubi
|
||||
docker.io/hashicorppreview/${{ env.repo }}:${{ env.minor_dev_tag }}-ubi-${{ github.sha }}
|
||||
smoke_test: .github/scripts/verify_docker.sh v${{ env.version }}
|
||||
redhat_tag: quay.io/redhat-isv-containers/60f9fdbec3a80eac643abedf:${{env.version}}-ubi
|
||||
|
||||
verify-linux:
|
||||
needs:
|
||||
|
|
Loading…
Reference in New Issue