Skip to content

Commit

Permalink
feat(docker): use Doker Hub instead of GitHub packages
Browse files Browse the repository at this point in the history
  • Loading branch information
aerialls committed Jun 26, 2020
1 parent 9e5aa56 commit 6e4ccdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
go-version: 1.14
- name: Login to GitHub Packages
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | \
docker login docker.pkg.github.com -u docker --password-stdin
echo "${{ secrets.DOCKER_HUB_TOKEN }}" | \
docker login --username aerialls --password-stdin
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
5 changes: 2 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ archives:
- scaleway-ddns.yml
dockers:
- image_templates:
- "docker.pkg.github.com/aerialls/scaleway-ddns/bin:latest"
- "docker.pkg.github.com/aerialls/scaleway-ddns/bin:{{ .Tag }}"
- "docker.pkg.github.com/aerialls/scaleway-ddns/bin:{{ .Major }}"
- "aerialls/scaleway-ddns:latest"
- "aerialls/scaleway-ddns:{{ .Tag }}"

0 comments on commit 6e4ccdd

Please sign in to comment.