Difference between revisions of "GitHub Actions cache"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
[[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 | ||
Revision as of 13:16, 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
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: