diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e2539f..5ebe01c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -167,6 +167,7 @@ jobs: images: | ${{ env.IMAGE_ORG }}/zfs-driver quay.io/${{ env.IMAGE_ORG }}/zfs-driver + ghcr.io/${{ env.IMAGE_ORG }}/zfs-driver tag-latest: false tag-custom-only: true tag-custom: | @@ -201,6 +202,13 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} + - name: Login to GHCR + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build & Push Image uses: docker/build-push-action@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a706c0..b7339f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,6 +53,7 @@ jobs: images: | ${{ env.IMAGE_ORG }}/zfs-driver quay.io/${{ env.IMAGE_ORG }}/zfs-driver + ghcr.io/${{ env.IMAGE_ORG }}/zfs-driver tag-latest: true tag-semver: | {{version}} @@ -110,6 +111,13 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} + - name: Login to GHCR + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build & Push Image uses: docker/build-push-action@v2 with: