Add docker private actions support buildx
This commit is contained in:
parent
8ef3049563
commit
757be0a536
1
.github/workflows/docker-private.yml
vendored
1
.github/workflows/docker-private.yml
vendored
@ -12,6 +12,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
|
REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
|
||||||
steps:
|
steps:
|
||||||
|
- uses: docker/setup-buildx-action@v1
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Sign-in to Private Registry "${REGISTRY}"
|
- name: Sign-in to Private Registry "${REGISTRY}"
|
||||||
run: docker login $REGISTRY -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
run: docker login $REGISTRY -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
2
.github/workflows/docker-public.yml
vendored
2
.github/workflows/docker-public.yml
vendored
@ -3,7 +3,7 @@ name: Docker CI Public
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
|
Loading…
Reference in New Issue
Block a user