diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3af20ced..d9be3a52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -150,6 +150,7 @@ jobs: images: | ${{ env.IMAGE_ORG }}/device-driver quay.io/${{ env.IMAGE_ORG }}/device-driver + ghcr.io/${{ env.IMAGE_ORG }}/device-driver tag-latest: false tag-custom-only: true tag-custom: | @@ -184,6 +185,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: @@ -197,4 +205,4 @@ jobs: DBUILD_DATE=${{ steps.date.outputs.DATE }} DBUILD_REPO_URL=https://github.com/openebs/device-localpv DBUILD_SITE_URL=https://openebs.io - BRANCH=${{ env.BRANCH }} \ No newline at end of file + BRANCH=${{ env.BRANCH }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d950c49..a041683c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,6 +52,7 @@ jobs: images: | ${{ env.IMAGE_ORG }}/device-driver quay.io/${{ env.IMAGE_ORG }}/device-driver + ghcr.io/${{ env.IMAGE_ORG }}/device-driver tag-latest: true tag-semver: | {{version}} @@ -85,6 +86,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: