This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
release-stg #251
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release-stg | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '00 10 * * *' # time in UTC | |
jobs: | |
copy-main-to-stg: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: imjasonh/setup-crane@00c9e93efa4e1138c9a7a5c594acd6c75a2fbf0c | |
- name: Copy Main to Stg | |
run: | | |
crane tag ghcr.io/${{ github.repository }}:main stg |