aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-13 09:48:18 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-13 09:48:18 +0200
commit65fe5cb5c88beabf6c045f20738af71c8d0e38ec (patch)
treea87bed5395a4d7a5ad104202be12b6cf0181c841 /.github/workflows/release.yml
parentd3bbba263d4bfce087181d3cdb40fe8c89177624 (diff)
downloadfeed2imap-go-65fe5cb5c88beabf6c045f20738af71c8d0e38ec.tar.gz
feed2imap-go-65fe5cb5c88beabf6c045f20738af71c8d0e38ec.tar.bz2
feed2imap-go-65fe5cb5c88beabf6c045f20738af71c8d0e38ec.zip
Publish docker images also at Docker Hub.
Closes #15.
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 19b0b6d..358abc0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -31,14 +31,21 @@ jobs:
run: |
echo '${{ steps.changelog_reader.outputs.log_entry }}' >> $HOME/changelog_entry
echo "::set-env name=clfile::${HOME}/changelog_entry"
-
+
- name: Docker Login
uses: azure/docker-login@v1
with:
login-server: 'docker.pkg.github.com'
- username: ${{ github.repository_owner }}
+ username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
+ - name: Docker Login
+ uses: azure/docker-login@v1
+ with:
+ login-server: 'index.docker.io'
+ username: necorodm
+ password: ${{ secrets.DOCKER_TOKEN }}
+
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with: