Skip to content

Create prepare.yml

Create prepare.yml #1

Workflow file for this run

name: Docker Image CI
on:
push:
branches: *

Check failure on line 5 in .github/workflows/prepare.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/prepare.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
pull_request:
branches: *
jobs:
job1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build $DOCKER_OPTS -t $DOCKER_IMAGE:ol8 --build-arg OS_DISTRO=oraclelinux --build-arg OS_RELEASE=8 -f docker/Dockerfile .
job2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build $DOCKER_OPTS -t $DOCKER_IMAGE:ol9 --build-arg OS_DISTRO=oraclelinux --build-arg OS_RELEASE=9 -f docker/Dockerfile .
job3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build $DOCKER_OPTS -t $DOCKER_IMAGE:rl9 --build-arg OS_DISTRO=rockylinux --build-arg OS_RELEASE=9 -f docker/Dockerfile .