Skip to content

Commit

Permalink
Update prepare.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SiskaPavel authored Oct 24, 2023
1 parent 99b2f10 commit 92a1510
Showing 1 changed file with 28 additions and 13 deletions.
41 changes: 28 additions & 13 deletions .github/workflows/prepare.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
name: Upload data
name: prepare

on:
push:
branches: '*'
pull_request:
branches: '*'

jobs:
upload:
docker-image-ol9:
runs-on: ubuntu-latest

steps:
- name: Save PR number
env:
PR_NUMBER: ${{ github.event.number }}
run: |
mkdir -p ./pr
echo $PR_NUMBER > ./pr/pr_number
- uses: actions/upload-artifact@v3
with:
name: pr_number
path: pr/
- uses: actions/checkout@v4
- 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 .

# docker-image-ol8:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - 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 .

# docker-image-rl8:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - 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 .

# docker-image-fedora40:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Build the Docker image
# run: docker build $DOCKER_OPTS -t docker_image:fedora40 --build-arg OS_DISTRO=fedora --build-arg OS_RELEASE=40 -f docker/Dockerfile .

0 comments on commit 92a1510

Please sign in to comment.