mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 20:54:14 +00:00
auto
This commit is contained in:
parent
0d92e010d5
commit
d7c9052eea
1 changed files with 9 additions and 7 deletions
16
.github/workflows/docker.yml
vendored
16
.github/workflows/docker.yml
vendored
|
|
@ -48,12 +48,12 @@ jobs:
|
||||||
install: true
|
install: true
|
||||||
|
|
||||||
- name: Login to registry
|
- name: Login to registry
|
||||||
shell: bash
|
uses: docker/login-action@v2
|
||||||
run: |
|
with:
|
||||||
set -euo pipefail
|
registry: reg.vados.ru
|
||||||
echo "reg_url=${CI_REGISTRY}"
|
username: ${{ vars.REG_USER }}
|
||||||
echo "reg_user=${{ vars.REG_USER }}"
|
password: ${{ secrets.REG_PASS }}
|
||||||
echo "${{ secrets.REG_PASS }}" | docker login "${reg_url}" -u "${reg_user}" --password-stdin
|
scope: '${{ steps.meta.outputs.tags }}@push'
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v7
|
uses: docker/build-push-action@v7
|
||||||
|
|
@ -63,13 +63,15 @@ jobs:
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
secrets: |
|
||||||
|
|
||||||
|
|
||||||
# uses: docker/login-action@v2
|
# uses: docker/login-action@v2
|
||||||
# with:
|
# with:
|
||||||
# registry: reg.vados.ru
|
# registry: reg.vados.ru
|
||||||
# username: ${{ vars.REG_USER }}
|
# username: ${{ vars.REG_USER }}
|
||||||
# password: ${{ secrets.REG_PASS }}
|
# password: ${{ secrets.REG_PASS }}
|
||||||
# scope: '${IMAGE_NAME}@push'
|
# scope: '${{ steps.meta.outputs.tags }}@push'
|
||||||
|
|
||||||
# - name: Login to registries
|
# - name: Login to registries
|
||||||
# uses: docker/login-action@v4
|
# uses: docker/login-action@v4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue