setup docker for image push
This commit is contained in:
parent
57f399d6fc
commit
639293067f
1 changed files with 4 additions and 1 deletions
|
@ -29,6 +29,9 @@ jobs:
|
||||||
git clone ${{ env.REPO_URL }} ${{ github.workspace }}
|
git clone ${{ env.REPO_URL }} ${{ github.workspace }}
|
||||||
echo "Repository cloned!"
|
echo "Repository cloned!"
|
||||||
git checkout ${GITHUB_REF_NAME}
|
git checkout ${GITHUB_REF_NAME}
|
||||||
|
- name: Docker Login
|
||||||
|
run: |
|
||||||
|
echo ${{ secrets.GITHUB_TOKEN }} | docker login -u x-access-token --password-stdin git.hsn.dev
|
||||||
- name: Run goreleaser
|
- name: Run goreleaser
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ""
|
GITHUB_TOKEN: ""
|
||||||
|
@ -37,4 +40,4 @@ jobs:
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
echo ${{ github.workspace }}
|
echo ${{ github.workspace }}
|
||||||
goreleaser release
|
goreleaser release --clean
|
Loading…
Reference in a new issue