Skip to content

Commit

Permalink
fix: mise a jour du prefix des image docker avec le user group
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomarom committed Dec 4, 2024
1 parent aea18ae commit 8adfe41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .bin/scripts/release/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ set -e
echo "Building $TAG_PREFIX:$NEXT_VERSION ..."
docker buildx build "$ROOT_DIR/$TAG_PREFIX" \
--platform linux/amd64,linux/arm64 \
--tag ghcr.io/$GITHUB_ORGANIZATION/infra_$TAG_PREFIX:"$NEXT_VERSION" \
--tag ghcr.io/$GITHUB_ORGANIZATION/infra_$TAG_PREFIX:$(get_channel $NEXT_VERSION) \
--tag ghcr.io/$GITHUB_ORGANIZATION/${USER_GROUP}_$TAG_PREFIX:"$NEXT_VERSION" \
--tag ghcr.io/$GITHUB_ORGANIZATION/${USER_GROUP}_$TAG_PREFIX:$(get_channel $NEXT_VERSION) \
--label "org.opencontainers.image.source=$REPO_INFRA" \
--label "org.opencontainers.image.description=$TAG_PREFIX Infra" \
--label "org.opencontainers.image.version=$NEXT_VERSION" \
Expand Down
2 changes: 1 addition & 1 deletion .infra/files/app/docker-compose.system.yml.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ x-default: &default
services:
reverse_proxy:
<<: *default
image: ghcr.io/{{github_organization}}/infra_reverse_proxy:{{reverse_proxy_version}}
image: ghcr.io/{{github_organization}}/{{user_group}}_reverse_proxy:{{reverse_proxy_version}}
deploy:
<<: *deploy-default
restart_policy:
Expand Down
3 changes: 2 additions & 1 deletion products/infra/infra-meta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ set -euo pipefail
export GITHUB_ORGANIZATION=mission-apprentissage
export REPO_INFRA=mission-apprentissage/infra
export OP_VAULT_PASSWORD=mna-vault-passwords-common
export OP_ACCOUNT=mission-apprentissage.1password.com
export OP_ACCOUNT=mission-apprentissage.1password.com
export USER_GROUP=mna

0 comments on commit 8adfe41

Please sign in to comment.