mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-04-20 09:01:23 +00:00
Update GitHub Actions workflows to latest versions
This commit is contained in:
parent
b4dc19b4ba
commit
0bec274684
9 changed files with 31 additions and 31 deletions
4
.github/workflows/check-lowercase.yaml
vendored
4
.github/workflows/check-lowercase.yaml
vendored
|
@ -16,7 +16,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build image using Buildah
|
name: Build image using Buildah
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout buildah action github repository
|
# Checkout buildah action github repository
|
||||||
- name: Checkout Buildah action
|
- name: Checkout Buildah action
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: "buildah-build"
|
path: "buildah-build"
|
||||||
|
|
||||||
|
|
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -6,21 +6,21 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: Run ESLint
|
name: Run ESLint
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
|
|
||||||
check-dist:
|
check-dist:
|
||||||
name: Check Distribution
|
name: Check Distribution
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
BUNDLE_FILE: "dist/index.js"
|
BUNDLE_FILE: "dist/index.js"
|
||||||
BUNDLE_COMMAND: "npm run bundle"
|
BUNDLE_COMMAND: "npm run bundle"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
@ -33,11 +33,11 @@ jobs:
|
||||||
|
|
||||||
check-inputs-outputs:
|
check-inputs-outputs:
|
||||||
name: Check Input and Output enums
|
name: Check Input and Output enums
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
IO_FILE: ./src/generated/inputs-outputs.ts
|
IO_FILE: ./src/generated/inputs-outputs.ts
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
4
.github/workflows/containerfile_build.yml
vendored
4
.github/workflows/containerfile_build.yml
vendored
|
@ -15,7 +15,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build image using Buildah
|
name: Build image using Buildah
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -25,7 +25,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout buildah action github repository
|
# Checkout buildah action github repository
|
||||||
- name: Checkout Buildah action
|
- name: Checkout Buildah action
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: "buildah-build"
|
path: "buildah-build"
|
||||||
|
|
||||||
|
|
10
.github/workflows/docker_metadata_action.yml
vendored
10
.github/workflows/docker_metadata_action.yml
vendored
|
@ -12,7 +12,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build-containerfile:
|
build-containerfile:
|
||||||
name: Build image with Containerfile
|
name: Build image with Containerfile
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -25,7 +25,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout buildah action github repository
|
# Checkout buildah action github repository
|
||||||
- name: Checkout Buildah action
|
- name: Checkout Buildah action
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Docker Metadata
|
- name: Docker Metadata
|
||||||
id: docker-metadata
|
id: docker-metadata
|
||||||
|
@ -88,7 +88,7 @@ jobs:
|
||||||
|
|
||||||
build-scratch:
|
build-scratch:
|
||||||
name: Build image without Containerfile
|
name: Build image without Containerfile
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -103,7 +103,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout buildah action github repository
|
# Checkout buildah action github repository
|
||||||
- name: Checkout Buildah action
|
- name: Checkout Buildah action
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Docker Metadata
|
- name: Docker Metadata
|
||||||
id: docker-metadata
|
id: docker-metadata
|
||||||
|
@ -128,7 +128,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout spring-petclinic github repository
|
# Checkout spring-petclinic github repository
|
||||||
- name: Checkout spring-petclinic project
|
- name: Checkout spring-petclinic project
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "spring-projects/spring-petclinic"
|
repository: "spring-projects/spring-petclinic"
|
||||||
path: ${{ env.PROJECT_DIR }}
|
path: ${{ env.PROJECT_DIR }}
|
||||||
|
|
4
.github/workflows/link_check.yml
vendored
4
.github/workflows/link_check.yml
vendored
|
@ -12,9 +12,9 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
markdown-link-check:
|
markdown-link-check:
|
||||||
name: Check links in markdown
|
name: Check links in markdown
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
||||||
with:
|
with:
|
||||||
use-verbose-mode: true
|
use-verbose-mode: true
|
||||||
|
|
14
.github/workflows/multiarch.yml
vendored
14
.github/workflows/multiarch.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
name: Build multi-architecture image using Containerfile
|
name: Build multi-architecture image using Containerfile
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: hello-world-multiarch
|
IMAGE_NAME: hello-world-multiarch
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout buildah action github repository
|
# Checkout buildah action github repository
|
||||||
- name: Checkout Buildah action
|
- name: Checkout Buildah action
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: "buildah-build"
|
path: "buildah-build"
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ jobs:
|
||||||
name: Build multi-platform image using Containerfile
|
name: Build multi-platform image using Containerfile
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: hello-world-multiplatform
|
IMAGE_NAME: hello-world-multiplatform
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -94,7 +94,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout buildah action github repository
|
# Checkout buildah action github repository
|
||||||
- name: Checkout Buildah action
|
- name: Checkout Buildah action
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: "buildah-build"
|
path: "buildah-build"
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ jobs:
|
||||||
name: Build multi-architecture image from scratch
|
name: Build multi-architecture image from scratch
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: spring-petclinic-multiarch
|
IMAGE_NAME: spring-petclinic-multiarch
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -161,7 +161,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout buildah action github repository
|
# Checkout buildah action github repository
|
||||||
- name: Checkout Buildah action
|
- name: Checkout Buildah action
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: "buildah-build"
|
path: "buildah-build"
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout spring-petclinic github repository
|
# Checkout spring-petclinic github repository
|
||||||
- name: Checkout spring-petclinic project
|
- name: Checkout spring-petclinic project
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "spring-projects/spring-petclinic"
|
repository: "spring-projects/spring-petclinic"
|
||||||
path: ${{ env.PROJECT_DIR }}
|
path: ${{ env.PROJECT_DIR }}
|
||||||
|
|
6
.github/workflows/scratch_build.yml
vendored
6
.github/workflows/scratch_build.yml
vendored
|
@ -17,7 +17,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build image using Buildah
|
name: Build image using Buildah
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -27,7 +27,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout buildah action github repository
|
# Checkout buildah action github repository
|
||||||
- name: Checkout Buildah action
|
- name: Checkout Buildah action
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: "buildah-build"
|
path: "buildah-build"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
||||||
|
|
||||||
# Checkout spring-petclinic github repository
|
# Checkout spring-petclinic github repository
|
||||||
- name: Checkout spring-petclinic project
|
- name: Checkout spring-petclinic project
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "spring-projects/spring-petclinic"
|
repository: "spring-projects/spring-petclinic"
|
||||||
path: ${{ env.PROJECT_DIR }}
|
path: ${{ env.PROJECT_DIR }}
|
||||||
|
|
4
.github/workflows/security_scan.yml
vendored
4
.github/workflows/security_scan.yml
vendored
|
@ -9,11 +9,11 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
crda-scan:
|
crda-scan:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
name: Scan project vulnerability with CRDA
|
name: Scan project vulnerability with CRDA
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
|
|
@ -126,7 +126,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Buildah Action
|
- name: Buildah Action
|
||||||
uses: redhat-actions/buildah-build@v2
|
uses: redhat-actions/buildah-build@v2
|
||||||
|
@ -166,7 +166,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- run: mvn package
|
- run: mvn package
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue