Merge remote-tracking branch 'kub-stage/kub-stage' into kub-stage
This commit is contained in:
@@ -8,6 +8,9 @@ on:
|
||||
env:
|
||||
REGISTRY: 194.5.195.53:30080
|
||||
IMAGE_NAME: admin/backoffice-bff
|
||||
HTTP_PROXY: http://proxyuser:87zH26nbqT2@46.249.98.211:3128
|
||||
HTTPS_PROXY: http://proxyuser:87zH26nbqT2@46.249.98.211:3128
|
||||
NO_PROXY: 127.0.0.1,localhost,194.5.195.53,.svc,.cluster.local
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -16,8 +19,16 @@ jobs:
|
||||
image: docker:latest
|
||||
options: --privileged
|
||||
steps:
|
||||
- name: Install git
|
||||
run: |
|
||||
apk add --no-cache git
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
run: |
|
||||
git config --global http.proxy ""
|
||||
git config --global https.proxy ""
|
||||
git clone --depth 1 --branch kub-stage http://194.5.195.53:30080/admin/BackOffice.BFF.git .
|
||||
git log -1 --format="%H %s"
|
||||
|
||||
- name: Start Docker daemon
|
||||
run: |
|
||||
@@ -33,8 +44,8 @@ jobs:
|
||||
docker build -f BackOffice.BFF.WebApi/Dockerfile \
|
||||
-t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }} \
|
||||
-t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \
|
||||
--build-arg HTTP_PROXY=http://proxyuser:87zH26nbqT2@46.249.98.211:3128 \
|
||||
--build-arg HTTPS_PROXY=http://proxyuser:87zH26nbqT2@46.249.98.211:3128 \
|
||||
--build-arg HTTP_PROXY=${{ env.HTTP_PROXY }} \
|
||||
--build-arg HTTPS_PROXY=${{ env.HTTPS_PROXY }} \
|
||||
.
|
||||
|
||||
- name: Push to Registry
|
||||
|
||||
Reference in New Issue
Block a user