Skip to content

Commit

Permalink
Publish the Docker image to ghcr.io and docker.io
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre authored Jul 29, 2021
1 parent 0e7f3af commit c4ab3e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/push-to-ghcr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and publish a Docker image to ghcr.io
name: Publish the Docker image to ghcr.io and docker.io
on:
# publish on releases (tagged as "x.y.z" - "v" prefix is removed)
release:
Expand All @@ -16,10 +16,11 @@ jobs:
runs-on: "ubuntu-20.04"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Build and publish a Docker image for ${{ github.repository }}
uses: macbre/push-to-ghcr@master
with:
image_name: ${{ github.repository }}
github_token: ${{ secrets.GITHUB_TOKEN }}
docker_io_token: ${{ secrets.DOCKER_IO_ACCESS_TOKEN }}

0 comments on commit c4ab3e4

Please sign in to comment.