Skip to content

fix registry urls on generate missing images list and adds registry i… #37

fix registry urls on generate missing images list and adds registry i…

fix registry urls on generate missing images list and adds registry i… #37

Workflow file for this run

name: ECM Distro Tools Release
on:
push:
tags:
- "v*"
jobs:
release:
permissions:
contents: write # Pushing artifacts to the new release.
id-token: write # OIDC for cosign's use in actions/publish-image.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build ECM Distro Tools
run: |
export VERSION=${GITHUB_REF_NAME}
make test
make package-binaries
- name: Publish Binaries
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload -R ${{ github.repository }} ${{ github.ref_name }} ${{ github.workspace }}/dist/* --clobber
- name: Publish manifest
uses: ./actions/publish-image
with:
image: ecm-distro-tools
tag: ${{ github.ref_name }}
platforms: ${{ matrix.platforms }}
push-to-public: false
# This project is for internal use only, therefore we can treat
# Docker as its Prime registry.
prime-registry: docker.io
prime-repo: rancher
prime-username: ${{ secrets.DOCKERHUB_USERNAME }}
prime-password: ${{ secrets.DOCKERHUB_TOKEN }}