mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 18:41:37 +00:00
login to docker hub before publishing
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
parent
04aaebfa71
commit
9c673d5650
6
.github/workflows/publish.yaml
vendored
6
.github/workflows/publish.yaml
vendored
@ -53,6 +53,11 @@ jobs:
|
|||||||
key: ${{ runner.os }}-linuxkit-${{ github.sha }}
|
key: ${{ runner.os }}-linuxkit-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-linuxkit-
|
${{ runner.os }}-linuxkit-
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Publish Packages
|
- name: Publish Packages
|
||||||
# this should only push changed ones:
|
# this should only push changed ones:
|
||||||
# - unchanged: already in the registry
|
# - unchanged: already in the registry
|
||||||
@ -60,4 +65,3 @@ jobs:
|
|||||||
# Skip s390x as emulation is unreliable
|
# Skip s390x as emulation is unreliable
|
||||||
run: |
|
run: |
|
||||||
make OPTIONS="--skip-platforms linux/s390x" -C pkg push PUSHOPTIONS="--nobuild"
|
make OPTIONS="--skip-platforms linux/s390x" -C pkg push PUSHOPTIONS="--nobuild"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user