Skip to content

Commit

Permalink
ci: Build container image
Browse files Browse the repository at this point in the history
This is not pushing it yet to a container registry, but let's make sure
that the image building rule works

Test Plan
=========

CI
  • Loading branch information
javierhonduco committed May 7, 2024
1 parent b49f76d commit 60b2423
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: build container image
on:
pull_request:
push:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
container:
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read

steps:
- uses: actions/checkout@main
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build container image
run: nix build .#container
4 changes: 2 additions & 2 deletions .github/workflows/static-build-and-upload.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: static build and upload
on:
pull_request:
push:
pull_request:
push:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vmtests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: vmtests
on:
pull_request:
push:
pull_request:
push:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit 60b2423

Please sign in to comment.