diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index efab700..472e7a6 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,7 +10,7 @@ jobs: steps: - name: Trigger BuildKit Build run: | - echo "Building commit: ${GITHUB_SHA}" + echo "Building commit: \" # Delete old job kubectl delete job build-manoon-headless-action -n gitea --ignore-not-found=true 2>/dev/null || true @@ -36,8 +36,7 @@ jobs: - | set -e git clone --depth 1 http://gitea:3000/unchained/manoon-headless.git /workspace - cd /workspace && git checkout ${GITHUB_SHA} - echo "Building: \$(git rev-parse --short HEAD)" + cd /workspace && git checkout echo "Building: $(git rev-parse --short HEAD)" volumeMounts: - name: workspace mountPath: /workspace @@ -56,7 +55,7 @@ jobs: --local context=/workspace \ --local dockerfile=/workspace \ --output type=image,name=ghcr.io/unchainedio/manoon-headless:latest,push=true - kubectl annotate kustomization -n flux-system manoonoils-storefront --overwrite reconcile.fluxcd.io/requestedAt="\$(date +%s)" + kubectl annotate kustomization -n flux-system manoonoils-storefront --overwrite reconcile.fluxcd.io/requestedAt="\1775369769" echo "Done!" volumeMounts: - name: workspace