Merge pull request #437 from na2na-p/renovate/all-minor-patch #108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD for main | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
prepare: | |
timeout-minutes: 60 | |
runs-on: | |
- ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.1.7 | |
- name: Setup asdf | |
uses: asdf-vm/actions/setup@v3.0.2 | |
continue-on-error: true | |
- name: install ffmpeg dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y nasm | |
- name: Cache asdf | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.asdf | |
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }} | |
- name: asdf install | |
uses: asdf-vm/actions/install@v3.0.2 | |
ci: | |
uses: ./.github/workflows/ci.yml | |
secrets: inherit | |
needs: prepare | |
image-build-for-ci: | |
uses: ./.github/workflows/image-build.yml | |
secrets: inherit | |
image-scan: | |
uses: ./.github/workflows/image-scan.yml | |
secrets: inherit | |
needs: image-build-for-ci | |
with: | |
docker_image_tag_ci: ${{ needs.image-build-for-ci.outputs.docker_image_tag_ci }} |