Skip to content

Merge pull request #621 from 27149chen/cherry-pick-615 #309

Merge pull request #621 from 27149chen/cherry-pick-615

Merge pull request #621 from 27149chen/cherry-pick-615 #309

Workflow file for this run

name: Push Images
on:
push:
tags:
- v*
jobs:
images:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
# https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
fetch-depth: 0
- name: Set up qemu
uses: docker/setup-qemu-action@v2
with:
platforms: amd64,arm64
- name: Login registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push images
env:
ON_PLUGINS: true
run: |
REGISTRY="ghcr.io/$(echo ${{ github.repository }} | tr "A-Z" "a-z")" VERSION=${{ github.ref_name }} make push-images