sliminio #14
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: sliminio | |
"on": | |
workflow_dispatch: | |
schedule: | |
- cron: "0 1 1 * *" | |
permissions: | |
contents: read | |
jobs: | |
deploy: | |
name: sliminio deploy | |
runs-on: ubuntu-latest | |
environment: | |
name: sliminio | |
steps: | |
- name: checkout project | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: install cosign | |
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 | |
- name: verify minio image | |
run: | | |
cosign verify \ | |
--certificate-identity \ | |
'https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main' \ | |
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \ | |
"cgr.dev/chainguard/minio:latest" | jq . | |
- name: flyio setup | |
uses: superfly/flyctl-actions/setup-flyctl@master | |
- name: flyio deploy | |
run: | | |
set -x | |
docker pull cgr.dev/chainguard/minio:latest | |
flyctl deploy --image cgr.dev/chainguard/minio:latest | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |