diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 626e38e..5938a3a 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -67,7 +67,6 @@ jobs: load: true platforms: linux/amd64 tags: kaiohz/pickpro:composable-ui-scan - cache-from: type=gha - name: Trivy Image Scan (report) uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 @@ -99,8 +98,6 @@ jobs: tags: | kaiohz/pickpro:composable-ui-${{ steps.sha.outputs.result }} kaiohz/pickpro:composable-ui-latest - cache-from: type=gha - cache-to: type=gha,mode=max - name: Checkout flux repository run: | @@ -108,7 +105,7 @@ jobs: - name: Update deployment image tag run: | - DEPLOYMENT_FILE="flux-repo/dev/composables/composable-ui/deployment.yaml" + DEPLOYMENT_FILE="flux-repo/prd/composables/composable-ui/deployment.yaml" if [ -f "$DEPLOYMENT_FILE" ]; then sed -i 's|image: kaiohz/pickpro:composable-ui-.*|image: kaiohz/pickpro:composable-ui-${{ steps.sha.outputs.result }}|g' "$DEPLOYMENT_FILE" else @@ -121,6 +118,6 @@ jobs: cd flux-repo git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git add dev/composables/composable-ui/deployment.yaml + git add prd/composables/composable-ui/deployment.yaml git commit -m "Update composable-ui image to ${{ steps.sha.outputs.result }}" || echo "No changes to commit" git push https://x-access-token:${{ secrets.FLUX_REPO_TOKEN }}@github.com/SoluDevTech/flux.git main