Skip to content

Commit

Permalink
Add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
lentzi90 committed Jan 24, 2024
1 parent 427620d commit 9b9c117
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/osimages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: E2E node images

on:
pull_request:
branches: [main]
paths-ignore:
- '**/*.md'
- 'docs/**'
- '.gitignore'
- 'hack/*.sh'
- 'LICENSE'
- 'SECURITY_CONTACTS'
- 'OWNERS'

permissions: {}

jobs:
build:
name: Build and upload node images
runs-on: ubuntu-latest

permissions:
contents: read

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Build images
run: make -C osimages -j2 ACCELERATOR=none \
osimage-flatcar-1.27.2 \
osimage-flatcar-1.28.2 \
osimage-ubuntu-2204-1.28.2 \
osimage-ubuntu-2204-1.27.2

- name: Upload images
uses: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:latest
with:
args: make -C osimages osimage-upload

0 comments on commit 9b9c117

Please sign in to comment.