Skip to content

改为在拉取后安装 #9

改为在拉取后安装

改为在拉取后安装 #9

Workflow file for this run

name: Build Image
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Podman
run: sudo apt-get update && sudo apt-get install -y podman
- name: Build Image
run: podman build -t ghcr.io/akarinliu/flarum:latest . --no-cache
- name: Login GitHub Account
run: podman login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GH_TOKEN }}
- name: Push Image
run: podman push ghcr.io/akarinliu/flarum:latest