Difference between revisions of "GitHub Actions cache"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | * https://docs.docker.com/build/cache/backends/gha/ | ||
+ | [[gha]] | ||
+ | - name: Build and push | ||
+ | uses: [[docker/build-push-action]]@v4 | ||
+ | with: | ||
+ | context: . | ||
+ | push: true | ||
+ | tags: "<registry>/<image>:latest" | ||
+ | cache-from: type=gha | ||
+ | cache-to: type=gha,mode=max | ||
* [[Cache]] | * [[Cache]] | ||
+ | * [[Build cache]] | ||
− | + | * {{BuildKit}} | |
− | {{GH A}} | + | * {{GH A}} |
Latest revision as of 13:23, 7 April 2023
gha
- name: Build and push uses: docker/build-push-action@v4 with: context: . push: true tags: "<registry>/<image>:latest" cache-from: type=gha cache-to: type=gha,mode=max
- BuildKit, buildctl
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: