Skip to content

Commit 9c8840e

Browse files
authored
Don't deploy to docker hub (#4)
1 parent 18276a7 commit 9c8840e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/autorelease.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ jobs:
1818
- uses: actions/checkout@v2
1919
with:
2020
ref: master
21+
2122
- name: get version
2223
id: version
2324
run: |
2425
sed -n 's/^version:\s\(.*\)$/\1/p' ${{ env.manifest_file }} | xargs -I {} echo "::set-output name=version::{}"
26+
2527
- name: get changelog
2628
id: changelog
2729
run: |
@@ -31,10 +33,12 @@ jobs:
3133
changelog="${changelog//$'\n'/'%0A'}"
3234
changelog="${changelog//$'\r'/'%0D'}"
3335
echo "::set-output name=changelog::$changelog"
36+
3437
- name: echo version and changelog
3538
run: |
3639
echo "${{ steps.version.outputs.version}}"
3740
echo "${{ steps.changelog.outputs.changelog }}"
41+
3842
- name: Create Release
3943
uses: ncipollo/[email protected]
4044
with:
@@ -69,11 +73,6 @@ jobs:
6973
key: ${{ runner.os }}-buildx-${{ github.sha }}
7074
restore-keys: |
7175
${{ runner.os }}-buildx-
72-
- name: Login to DockerHub
73-
uses: docker/login-action@v1
74-
with:
75-
username: ${{ secrets.DOCKERHUB_USERNAME }}
76-
password: ${{ secrets.DOCKERHUB_TOKEN }}
7776
7877
- name: Log in to the Container registry
7978
uses: docker/[email protected]
@@ -89,6 +88,7 @@ jobs:
8988
images: ${{ env.IMAGE_NAME }},ghcr.io/${{ env.IMAGE_NAME }}
9089
tags: |
9190
type=semver,pattern={{version}},value=${{needs.github-release.outputs.version}}
91+
9292
- name: Build and push Docker image
9393
uses: docker/[email protected]
9494
with:

0 commit comments

Comments
 (0)