Skip to content

platform-production #820

platform-production

platform-production #820

name: platform-production
on:
push:
branches:
- 'main'
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.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: Build and push image alpine 3.20.1
uses: ./.github/actions/push-image
with:
image_name: ghcr.io/multiverse-io/platform-production
image_tag: alpine-3.20.1
context: ./platform-production
registry_password: ${{ secrets.GITHUB_TOKEN }}
lacework_access_token: ${{ secrets.LW_ACCESS_TOKEN }}
build_args: |
ALPINE_VERSION=3.20.1
- 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]