Use public repo #196
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: git-hub | |
on: [push] | |
jobs: | |
build-gh-new: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: whoan/docker-build-with-cache-action@next | |
with: | |
username: whoan | |
password: "${{ secrets.GITHUB_TOKEN }}" # you don't need to manually set this secret. GitHub does it on your behalf | |
registry: ghcr.io | |
image_name: hello-world-new | |
build-gh-old: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: whoan/docker-build-with-cache-action@next | |
env: | |
DOCKER_BUILDKIT: 0 | |
with: | |
username: whoan | |
password: "${{ secrets.GITHUB_TOKEN }}" | |
registry: docker.pkg.github.com # old registry only works disabling BUILDKIT | |
image_name: hello-world-old |