Skip to content

fix tomcat startup errors #17

fix tomcat startup errors

fix tomcat startup errors #17

Workflow file for this run

name: Docker CI
on:
push:
branches: [ main ]
paths-ignore:
- '.gitignore'
- 'README.md'
schedule:
- cron: '15 0 * * 0'
env:
BETA_CHANNEL: 24.04
STABLE_CHANNEL: 22.04
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Docker
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_TOKEN: ${{secrets.DOCKER_TOKEN}}
run: |
docker login -u $DOCKER_USER -p $DOCKER_TOKEN
- name: Build 22.04
run: |
docker build . --pull --build-arg OS_VERSION=${{env.STABLE_CHANNEL}} --tag bshp/ocie:latest --no-cache
- name: Push 22.04
run: |
docker tag bshp/ocie:latest bshp/ocie:${{env.STABLE_CHANNEL}}
docker push bshp/ocie:latest
docker push bshp/ocie:${{env.STABLE_CHANNEL}}
- name: Build 24.04
run: |
docker build . --pull --build-arg OS_VERSION=${{env.BETA_CHANNEL}} --tag bshp/ocie:beta --no-cache
- name: Push 24.04
run: |
docker tag bshp/ocie:beta bshp/ocie:${{env.BETA_CHANNEL}}
docker push bshp/ocie:beta
docker push bshp/ocie:${{env.BETA_CHANNEL}}
- name: Build Apache Base
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: ${{secrets.WF_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/bshp/apache2/actions/workflows/build.yml/dispatches \
-d '{"ref":"master"}'
- name: Build Mantis
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: ${{secrets.WF_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/bshp/mantis/actions/workflows/build.yml/dispatches \
-d '{"ref":"main"}'