Fix workflow
Build restic container / Build image (push) Failing after 12s Details

This commit is contained in:
LordMathis 2024-01-30 13:53:02 +01:00
parent 1e4382a8f8
commit b26f0b216e
1 changed files with 1 additions and 7 deletions

View File

@ -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