feat(action/docker/build-image): use gha cache backend #295
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: Internal - Main - Continuous Integration | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: [main] | |
tags: ["*"] | |
workflow_dispatch: | |
permissions: | |
actions: write | |
contents: write | |
issues: read | |
packages: write | |
pull-requests: write | |
statuses: write | |
# FIXME: This is a workaround for having workflow actions. See https://github.com/orgs/community/discussions/38659 | |
id-token: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ci: | |
uses: ./.github/workflows/__shared-ci.yml | |
clean: | |
needs: ci | |
uses: ./.github/workflows/prune-pull-requests-images-tags.yml | |
with: | |
images: | | |
[ | |
"application-test", | |
"application-multi-arch", | |
"application-mono-arch" | |
] | |
release: | |
needs: ci | |
uses: hoverkraft-tech/ci-github-common/.github/workflows/[email protected] | |
with: | |
update-all: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch' }} | |
github-app-id: ${{ vars.CI_BOT_APP_ID }} | |
secrets: | |
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }} |