Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaiducek committed Feb 29, 2024
1 parent 3de4838 commit f6feb1c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: GoRelease

on:
push:
branches:
- fix-release-action
tags:
- 'v*.*.*'
workflow_dispatch: {}
Expand All @@ -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
Expand All @@ -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" \
Expand Down

0 comments on commit f6feb1c

Please sign in to comment.