Compare commits
2 Commits
3f64369852
...
ede8d95fd1
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ede8d95fd1 | ||
![]() |
0fc7b6e4c3 |
3
.github/workflows/cicd.yml
vendored
3
.github/workflows/cicd.yml
vendored
@ -2,7 +2,7 @@ name: Build and Push to Registry
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ cicd ]
|
branches: [ dev ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: git.4nkweb.com
|
REGISTRY: git.4nkweb.com
|
||||||
@ -40,4 +40,5 @@ jobs:
|
|||||||
ENV_VARS=${{ secrets.ENV_VARS }}
|
ENV_VARS=${{ secrets.ENV_VARS }}
|
||||||
tags: |
|
tags: |
|
||||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||||
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
|
||||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }}
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }}
|
@ -29,7 +29,7 @@ WORKDIR /build
|
|||||||
COPY . ihm_client/
|
COPY . ihm_client/
|
||||||
|
|
||||||
# Clonage du sdk_client au même niveau que ihm_client en utilisant la clé SSH montée
|
# Clonage du sdk_client au même niveau que ihm_client en utilisant la clé SSH montée
|
||||||
RUN --mount=type=ssh git clone -b cicd ssh://git@git.4nkweb.com/4nk/sdk_client.git
|
RUN --mount=type=ssh git clone -b dev ssh://git@git.4nkweb.com/4nk/sdk_client.git
|
||||||
|
|
||||||
# Build du WebAssembly avec accès SSH pour les dépendances
|
# Build du WebAssembly avec accès SSH pour les dépendances
|
||||||
WORKDIR /build/sdk_client
|
WORKDIR /build/sdk_client
|
||||||
|
Loading…
x
Reference in New Issue
Block a user