registry problems
Some checks failed
Workflow de prueba / Build and push images (push) Has been cancelled
Some checks failed
Workflow de prueba / Build and push images (push) Has been cancelled
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Extract Branch Name
|
- name: Extract Branch Name
|
||||||
run: echo "BRANCH_NAME=${{ gitea.ref_name }}" >> env.BRANCH_NAME
|
run: echo "${{ gitea.ref }}" | sed 's|refs/heads/||' >> env.BRANCH_NAME
|
||||||
|
|
||||||
#- name: Setup QEMU
|
#- name: Setup QEMU
|
||||||
# uses: docker/setup-qemu-action@v3
|
# uses: docker/setup-qemu-action@v3
|
||||||
@@ -25,6 +25,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
driver-opts: network=host
|
driver-opts: network=host
|
||||||
|
|
||||||
|
- name: Echo the Tag
|
||||||
|
run: echo "Tag ${{ env.DOCKER_ORG }}/beyondcx:${{ env.BRANCH_NAME }}"
|
||||||
|
|
||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -32,11 +35,8 @@ jobs:
|
|||||||
username: ${{ secrets.REGISTRY_USER }}
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_PWD }}
|
password: ${{ secrets.REGISTRY_PWD }}
|
||||||
|
|
||||||
- name: Echo the Tag
|
|
||||||
run: echo "Tag ${{ env.DOCKER_ORG }}/beyondcx:${{ env.BRANCH_NAME }}"
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
Reference in New Issue
Block a user