From f6feb1cb42dd557c9784730d97cd587046066e9b Mon Sep 17 00:00:00 2001 From: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> Date: Thu, 29 Feb 2024 14:22:39 -0500 Subject: [PATCH] tmp --- .github/workflows/go-release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index cb926bba..a851c52c 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -2,6 +2,8 @@ name: GoRelease on: push: + branches: + - fix-release-action tags: - 'v*.*.*' workflow_dispatch: {} @@ -14,6 +16,8 @@ jobs: - name: Setup environment variables run: | echo "TAG=${{ github.ref_name }}" >> GITHUB_ENV + echo "${GITHUB_REPOSITORY}" + echo "${GITHUB_REPOSITORY#*/}" echo "REPO_NAME=${GITHUB_REPOSITORY#*/}" >> GITHUB_ENV - name: checkout code uses: actions/checkout@v4 @@ -22,8 +26,8 @@ jobs: make build-images - name: push image run: | - echo ${{ secrets.DOCKER_PASSWORD }} | docker login quay.io --username ${{ secrets.DOCKER_USER }} --password-stdin - docker push quay.io/open-cluster-management/config-policy-controller:${TAG} + # echo ${{ secrets.DOCKER_PASSWORD }} | docker login quay.io --username ${{ secrets.DOCKER_USER }} --password-stdin + # docker push quay.io/open-cluster-management/config-policy-controller:${TAG} - name: publish release run: | curl -L -X POST -H "Accept: application/vnd.github+json" \