Skip to content

platform-production #757

platform-production

platform-production #757

name: platform-production
on:
push:
branches:
- 'main'
paths:
- 'platform-production/**'
workflow_dispatch:
pull_request:
types: [assigned, opened, synchronize, reopened]
schedule:
- cron: '25 7 * * 1-5'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and push image alpine 3.18.0
uses: ./.github/actions/push-image
with:
image_name: ghcr.io/multiverse-io/platform-production
image_tag: alpine-3.18.0
context: ./platform-production
registry_password: ${{ secrets.GITHUB_TOKEN }}
lacework_access_token: ${{ secrets.LW_ACCESS_TOKEN }}
build_args: |
ALPINE_VERSION=3.18.0
- name: Build and push image alpine 3.18.4
uses: ./.github/actions/push-image
with:
image_name: ghcr.io/multiverse-io/platform-production
image_tag: alpine-3.18.4
context: ./platform-production
registry_password: ${{ secrets.GITHUB_TOKEN }}
lacework_access_token: ${{ secrets.LW_ACCESS_TOKEN }}
build_args: |
ALPINE_VERSION=3.18.4
- name: Switch to keepalive branch
uses: actions/checkout@v4
with:
ref: keepalive
- name: Prevent GitHub from disabling workflow due to inactivity
uses: gautamkrishnar/keepalive-workflow@v1
with:
committer_email: [email protected]