fix workdir issue for image action (#230)

Signed-off-by: Jian Qiu <jqiu@redhat.com>
This commit is contained in:
Jian Qiu
2022-04-07 18:35:30 +08:00
committed by GitHub
parent 83aabb4256
commit 922fca0015
2 changed files with 15 additions and 0 deletions

View File

@@ -50,6 +50,11 @@ jobs:
runs-on: ubuntu-latest
needs: [ images ]
steps:
- name: checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
path: go/src/open-cluster-management.io/registration
- name: create
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login quay.io --username ${{ secrets.DOCKER_USER }} --password-stdin

View File

@@ -56,6 +56,11 @@ jobs:
runs-on: ubuntu-latest
needs: [ images ]
steps:
- name: checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
path: go/src/open-cluster-management.io/registration
- name: get release version
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
@@ -81,6 +86,11 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
path: go/src/open-cluster-management.io/registration
- name: get release version
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV