From 0fce7841061f3281252da4298d724874246903e1 Mon Sep 17 00:00:00 2001 From: carlospelazas Date: Thu, 29 Feb 2024 07:08:11 +0100 Subject: [PATCH] publish image 1 --- .github/workflows/release.yml | 20 ++++++++++++++++++++ docker-compose.yml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 237571f..8b8e808 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,6 +76,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} registry: ghcr.io workdir: users/authservice + docker-push-userservice: name: Push user service Docker Image to GitHub Packages runs-on: ubuntu-latest @@ -93,6 +94,25 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} registry: ghcr.io workdir: users/userservice + +docker-push-qgservice: + name: Push question generator service Docker Image to GitHub Packages + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + needs: [e2e-tests] + steps: + - uses: actions/checkout@v4 + - name: Publish to Registry + uses: elgohr/Publish-Docker-Github-Action@v5 + with: + name: arquisoft/wiq_en2a/qgservice + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + registry: ghcr.io + workdir: users/qgservice + docker-push-gatewayservice: name: Push gateway service Docker Image to GitHub Packages runs-on: ubuntu-latest diff --git a/docker-compose.yml b/docker-compose.yml index ef5c7c4..78263e1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,7 +41,7 @@ services: questiongeneratorservice: container_name: qgservice-${teamname:-defaultASW} - image: pelazas1/questiongenerator:latest + image: ghcr.io/arquisoft/wiq_en2a/qgservice:latest profiles: ["dev", "prod"] build: ./game/qgservice depends_on: