No separate copy when ephemeral runner is used #47
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: dev | |
on: | |
push: | |
branches: | |
- feature/* | |
jobs: | |
build-base: | |
uses: ./.github/workflows/_build.yml | |
strategy: | |
matrix: | |
os: [ubuntu, fedora] | |
with: | |
image: ${{ github.actor }}/runner-krunvm-base-${{ matrix.os }} | |
file: Dockerfile.base.${{ matrix.os }} | |
platforms: linux/amd64 | |
secrets: | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
build-main: | |
needs: | |
- build-base | |
uses: ./.github/workflows/_build.yml | |
strategy: | |
matrix: | |
os: [ubuntu, fedora] | |
with: | |
image: ${{ github.actor }}/runner-krunvm-${{ matrix.os }} | |
file: Dockerfile | |
platforms: linux/amd64 | |
build-args: | | |
VERSION=${{ needs.build-base.outputs.version }} | |
DISTRO=${{ matrix.os }} | |
secrets: | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} |