Skip to content

gen .make/go-pkgdeps.mk #76

gen .make/go-pkgdeps.mk

gen .make/go-pkgdeps.mk #76

Workflow file for this run

name: Releases Images
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
Images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependent
run: |
make dependent
- name: Checkout
run: |
make $(basename ${GITHUB_REF})
- name: Build images
run: |
make build-image
- name: Login registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push images
run: |
OLD_REGISTRY=k8s.gcr.io REGISTRY="ghcr.io/$(echo ${{ github.repository }} | tr "A-Z" "a-z")" make push-image
- name: Sync others image
env:
GH_ID: ${{ github.actor }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
sudo mkdir -p /run/containers && sudo chmod 777 /run/containers
skopeo login -u ${GH_ID} -p ${GH_TOKEN} ghcr.io
REGISTRY="ghcr.io/$(echo ${{ github.repository }} | tr "A-Z" "a-z")" make image-other