Fix workflow
Build restic container / Build image (push) Failing after 12s
Details
Build restic container / Build image (push) Failing after 12s
Details
This commit is contained in:
parent
1e4382a8f8
commit
b26f0b216e
|
@ -24,12 +24,6 @@ jobs:
|
|||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- name: Build and push
|
||||
run: |
|
||||
source .env
|
||||
docker build \
|
||||
--build-arg="RESTIC_VERSION=${RESTIC_VERSION}" \
|
||||
--build-arg="KUBECTL_VERSION=${KUBECTL_VERSION}" \
|
||||
-t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:${RESTIC_VERSION} \
|
||||
-t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:latest .
|
||||
docker push ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:${RESTIC_VERSION}
|
||||
docker build -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:latest .
|
||||
docker push ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:latest
|
||||
|
Loading…
Reference in New Issue