Add docker private actions support buildx

This commit is contained in:
Sambo Chea 2023-12-13 19:33:09 +07:00
parent 8ef3049563
commit 757be0a536
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490
2 changed files with 2 additions and 1 deletions

View File

@ -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 }}

View File

@ -3,7 +3,7 @@ name: Docker CI Public
on: on:
push: push:
branches: branches:
- 'main' - main
jobs: jobs:
docker: docker: