1
0
puyopuyotetr.is/.github/workflows/build-releases.yml

28 lines
658 B
YAML
Raw Normal View History

name: Build container release images
2023-07-24 14:15:03 +09:00
on: push
permissions:
contents: read
packages: write
jobs:
2023-07-24 14:15:03 +09:00
get-current-time:
name: Get Current Time
runs-on: ubuntu-latest
steps:
- name: Get Current TIme
id: time
run: echo "MY_DATE=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV
build-image:
uses: ./.github/workflows/build-container-image.yml
with:
platforms: linux/amd64,linux/arm64
use_native_arm64_builder: false
push_to_images: |
ghcr.io/${{ github.repository_owner }}/mastodon
flavor: |
2023-07-24 14:15:03 +09:00
latest = true
tags: |
2023-07-24 14:15:03 +09:00
type=pep440,pattern=${{ env.MY_DATE }}
secrets: inherit