mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-14 21:28:28 +00:00
fix workdir issue for image action (#230)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
This commit is contained in:
5
.github/workflows/go-postsubmit.yml
vendored
5
.github/workflows/go-postsubmit.yml
vendored
@@ -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
|
||||
|
||||
10
.github/workflows/go-release.yml
vendored
10
.github/workflows/go-release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user