Skip to content

Commit

Permalink
Add build main image
Browse files Browse the repository at this point in the history
  • Loading branch information
efrecon committed Feb 9, 2024
1 parent 812dd21 commit 839a4ec
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,22 @@ on:
- feature/build-two-images

jobs:
build:
build-base:
uses: ./.github/workflows/_build.yml
with:
image: ghcr.io/${{ github.actor }}/runner-krunvm-base
file: Dockerfile.base
secrets:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

build-main:
needs:
- build-base
uses: ./.github/workflows/_build.yml
with:
image: ghcr.io/${{ github.actor }}/runner-krunvm
file: Dockerfile
secrets:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 839a4ec

Please sign in to comment.