mirror of
https://github.com/grafana/grafana.git
synced 2024-12-30 10:47:30 -06:00
CircleCI: Push master Docker images without revision in tag (#22218)
This commit is contained in:
parent
019834ae12
commit
d03075b811
@ -558,20 +558,21 @@ jobs:
|
||||
name: Publish Docker images
|
||||
command: |
|
||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
docker tag "grafana/grafana:master-${CIRCLE_SHA1}" "grafana/grafana:master-${CIRCLE_SHA1}-new-pipeline"
|
||||
docker push "grafana/grafana:master-${CIRCLE_SHA1}-new-pipeline"
|
||||
docker tag "grafana/grafana-arm32v7-linux:master-${CIRCLE_SHA1}" "grafana/grafana-arm32v7-linux:master-${CIRCLE_SHA1}-new-pipeline"
|
||||
docker push "grafana/grafana-arm32v7-linux:master-${CIRCLE_SHA1}-new-pipeline"
|
||||
docker tag "grafana/grafana-arm64v8-linux:master-${CIRCLE_SHA1}" "grafana/grafana-arm64v8-linux:master-${CIRCLE_SHA1}-new-pipeline"
|
||||
docker push "grafana/grafana-arm64v8-linux:master-${CIRCLE_SHA1}-new-pipeline"
|
||||
docker tag "grafana/grafana:master-${CIRCLE_SHA1}" "grafana/grafana:master-new-pipeline"
|
||||
docker push "grafana/grafana:master-new-pipeline"
|
||||
docker tag "grafana/grafana-arm32v7-linux:master-${CIRCLE_SHA1}" "grafana/grafana-arm32v7-linux:master-new-pipeline"
|
||||
docker push "grafana/grafana-arm32v7-linux:master-new-pipeline"
|
||||
docker tag "grafana/grafana-arm64v8-linux:master-${CIRCLE_SHA1}" "grafana/grafana-arm64v8-linux:master-new-pipeline"
|
||||
docker push "grafana/grafana-arm64v8-linux:master-new-pipeline"
|
||||
- run:
|
||||
name: Publish Docker manifest
|
||||
command: |
|
||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
docker manifest create "grafana/grafana:master-${CIRCLE_SHA1}-new-pipeline" "grafana/grafana:master-${CIRCLE_SHA1}-new-pipeline" \
|
||||
"grafana/grafana-arm32v7-linux:master-${CIRCLE_SHA1}-new-pipeline" \
|
||||
"grafana/grafana-arm64v8-linux:master-${CIRCLE_SHA1}-new-pipeline"
|
||||
docker manifest push "grafana/grafana:master-${CIRCLE_SHA1}-new-pipeline"
|
||||
docker manifest create "grafana/grafana:master-new-pipeline" \
|
||||
"grafana/grafana:master-new-pipeline" \
|
||||
"grafana/grafana-arm32v7-linux:master-new-pipeline" \
|
||||
"grafana/grafana-arm64v8-linux:master-new-pipeline"
|
||||
docker manifest push "grafana/grafana:master-new-pipeline"
|
||||
- run:
|
||||
name: CI job failed
|
||||
command: ./scripts/ci-job-failed.sh
|
||||
@ -604,20 +605,21 @@ jobs:
|
||||
name: Publish Docker images
|
||||
command: |
|
||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
docker tag "grafana/grafana:master-${CIRCLE_SHA1}-ubuntu" "grafana/grafana:master-${CIRCLE_SHA1}-ubuntu-new-pipeline"
|
||||
docker push "grafana/grafana:master-${CIRCLE_SHA1}-ubuntu-new-pipeline"
|
||||
docker tag "grafana/grafana-arm32v7-linux:master-${CIRCLE_SHA1}-ubuntu" "grafana/grafana-arm32v7-linux:master-${CIRCLE_SHA1}-ubuntu-new-pipeline"
|
||||
docker push "grafana/grafana-arm32v7-linux:master-${CIRCLE_SHA1}-ubuntu-new-pipeline"
|
||||
docker tag "grafana/grafana-arm64v8-linux:master-${CIRCLE_SHA1}-ubuntu" "grafana/grafana-arm64v8-linux:master-${CIRCLE_SHA1}-ubuntu-new-pipeline"
|
||||
docker push "grafana/grafana-arm64v8-linux:master-${CIRCLE_SHA1}-ubuntu-new-pipeline"
|
||||
docker tag "grafana/grafana:master-${CIRCLE_SHA1}-ubuntu" "grafana/grafana:master-ubuntu-new-pipeline"
|
||||
docker push "grafana/grafana:master-ubuntu-new-pipeline"
|
||||
docker tag "grafana/grafana-arm32v7-linux:master-${CIRCLE_SHA1}-ubuntu" "grafana/grafana-arm32v7-linux:master-ubuntu-new-pipeline"
|
||||
docker push "grafana/grafana-arm32v7-linux:master-ubuntu-new-pipeline"
|
||||
docker tag "grafana/grafana-arm64v8-linux:master-${CIRCLE_SHA1}-ubuntu" "grafana/grafana-arm64v8-linux:master-ubuntu-new-pipeline"
|
||||
docker push "grafana/grafana-arm64v8-linux:master-ubuntu-new-pipeline"
|
||||
- run:
|
||||
name: Publish Docker manifest
|
||||
command: |
|
||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
docker manifest create "grafana/grafana:master-${CIRCLE_SHA1}-ubuntu-new-pipeline" "grafana/grafana:master-${CIRCLE_SHA1}-ubuntu-new-pipeline" \
|
||||
"grafana/grafana-arm32v7-linux:master-${CIRCLE_SHA1}-ubuntu-new-pipeline" \
|
||||
"grafana/grafana-arm64v8-linux:master-${CIRCLE_SHA1}-ubuntu-new-pipeline"
|
||||
docker manifest push "grafana/grafana:master-${CIRCLE_SHA1}-ubuntu-new-pipeline"
|
||||
docker manifest create "grafana/grafana:master-ubuntu-new-pipeline" \
|
||||
"grafana/grafana:master-ubuntu-new-pipeline" \
|
||||
"grafana/grafana-arm32v7-linux:master-ubuntu-new-pipeline" \
|
||||
"grafana/grafana-arm64v8-linux:master-ubuntu-new-pipeline"
|
||||
docker manifest push "grafana/grafana:master-ubuntu-new-pipeline"
|
||||
- run:
|
||||
name: CI job failed
|
||||
command: ./scripts/ci-job-failed.sh
|
||||
|
Loading…
Reference in New Issue
Block a user