WIP proxy #3
@@ -15,7 +15,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- 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
|
||||
# uses: docker/setup-qemu-action@v3
|
||||
@@ -25,6 +25,9 @@ jobs:
|
||||
with:
|
||||
driver-opts: network=host
|
||||
|
||||
- name: Echo the Tag
|
||||
run: echo "Tag ${{ env.DOCKER_ORG }}/beyondcx:${{ env.BRANCH_NAME }}"
|
||||
|
||||
- name: Login to Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
@@ -32,11 +35,8 @@ jobs:
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_PWD }}
|
||||
|
||||
- name: Echo the Tag
|
||||
run: echo "Tag ${{ env.DOCKER_ORG }}/beyondcx:${{ env.BRANCH_NAME }}"
|
||||
|
||||
- name: Build
|
||||
uses: docker/build-push-action@v3
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
|
||||
Reference in New Issue
Block a user