Fix cache-related error on second build attempt
This commit is contained in:
parent
3f25025088
commit
f82b4fd127
@ -3,9 +3,9 @@ set -Eeuo pipefail
|
|||||||
|
|
||||||
export HOME=$(pwd)
|
export HOME=$(pwd)
|
||||||
|
|
||||||
buildah --root containers build -f wwp-repo/container/Containerfile -t quay.io/blasthavers/worldwideportal:latest
|
buildah build -f wwp-repo/container/Containerfile -t quay.io/blasthavers/worldwideportal:latest
|
||||||
echo "$CONTAINER_REGISTRY_KEY" | buildah login --password-stdin --username blasthavers quay.io
|
echo "$CONTAINER_REGISTRY_KEY" | buildah login --password-stdin --username blasthavers quay.io
|
||||||
DATE=$(date +"%Y%m%d")
|
DATE=$(date +"%Y%m%d")
|
||||||
buildah --root containers tag quay.io/blasthavers/worldwideportal:latest "quay.io/blasthavers/worldwideportal:$DATE"
|
buildah tag quay.io/blasthavers/worldwideportal:latest "quay.io/blasthavers/worldwideportal:$DATE"
|
||||||
buildah --root containers push quay.io/blasthavers/worldwideportal:latest
|
buildah push quay.io/blasthavers/worldwideportal:latest
|
||||||
buildah --root containers push "quay.io/blasthavers/worldwideportal:$DATE"
|
buildah push "quay.io/blasthavers/worldwideportal:$DATE"
|
||||||
|
@ -54,8 +54,6 @@ jobs:
|
|||||||
- name: wwpapp
|
- name: wwpapp
|
||||||
- name: wwpserver
|
- name: wwpserver
|
||||||
- name: wwp-repo
|
- name: wwp-repo
|
||||||
caches:
|
|
||||||
- name: containers
|
|
||||||
params:
|
params:
|
||||||
CONTAINER_REGISTRY_KEY: ((container_registry_key))
|
CONTAINER_REGISTRY_KEY: ((container_registry_key))
|
||||||
run:
|
run:
|
||||||
|
Loading…
Reference in New Issue
Block a user