Skip to content

Use public repo

Use public repo #196

Workflow file for this run

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