ci: also push `:main` tag in addition to SHA-based ones
@@ -360,7 +360,7 @@ jobs:
# Disabling for now, and tracked further investigations
# in https://github.com/influxdata/k8s-idpe/issues/3038
docker_layer_caching: false
- version: 19.03.14
+ version: 20.10.7
- run: |
sudo apt-get update
sudo apt-get install -y docker.io
@@ -379,8 +379,8 @@ jobs:
echo sha256sum after build is
sha256sum target/release/influxdb_iox
COMMIT_SHA=$(git rev-parse --short HEAD)
- docker build -t quay.io/influxdb/iox:$COMMIT_SHA -f docker/Dockerfile.iox .
- docker push quay.io/influxdb/iox:$COMMIT_SHA
+ docker build -t quay.io/influxdb/iox:$COMMIT_SHA -t quay.io/influxdb/iox:main -f docker/Dockerfile.iox .
+ docker push quay.io/influxdb/iox --all-tags
echo "export COMMIT_SHA=${COMMIT_SHA}" >> $BASH_ENV
- run:
name: Deploy tags
