chore: push containers to docker.io
We should now mirror gcr.io with docker.io
This commit is contained in:
parent
0dd034b7b6
commit
fdd77ba8de
|
@ -28,6 +28,7 @@ jobs:
|
||||||
bake-target: ${{ matrix.target }}
|
bake-target: ${{ matrix.target }}
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/libretime/libretime-${{ matrix.target }}
|
ghcr.io/libretime/libretime-${{ matrix.target }}
|
||||||
|
docker.io/libretime/libretime-${{ matrix.target }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
|
@ -57,6 +58,14 @@ jobs:
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Login docker.io
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: docker.io
|
||||||
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Download all metadata bake files
|
- name: Download all metadata bake files
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue