-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update branch to main, add CI for PRs
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Docker Image CI on PR | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Vib | ||
run: | | ||
wget https://github.com/Vanilla-OS/Vib/releases/download/v0.2.10/vib | ||
chmod +x vib | ||
./vib build recipe.yml | ||
- name: Build the Docker image | ||
run: docker image build -f Containerfile --tag vanillaos/core:validation . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Docker Image CI | |
|
||
on: | ||
push: | ||
branches: [ "main", "ghcr" ] | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
|
||
env: | ||
|
@@ -36,6 +36,7 @@ jobs: | |
- name: Build the Docker image | ||
run: podman image build -f Containerfile --tag vanillaos/pico:${{ github.ref_name }} . | ||
|
||
# Push the image to Nexus (Image Registry) | ||
# - name: Push To Registry | ||
# uses: redhat-actions/[email protected] | ||
# with: | ||
|