From 5317920be6dd0a17bdcfc259f6a83a075d29141f Mon Sep 17 00:00:00 2001 From: Volker Kerkhoff Date: Thu, 12 Oct 2023 16:20:36 +0200 Subject: [PATCH] =?UTF-8?q?Build=20f=C3=BCr=20epam=20branch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/epam-docker-image.yml | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/epam-docker-image.yml diff --git a/.github/workflows/epam-docker-image.yml b/.github/workflows/epam-docker-image.yml new file mode 100644 index 0000000..8fb5b84 --- /dev/null +++ b/.github/workflows/epam-docker-image.yml @@ -0,0 +1,30 @@ +name: Docker Image CI + +on: + push: + branches: [ epam/* ] + +jobs: + prep: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: docker/setup-buildx-action@v1 + - uses: docker/login-action@v1 + with: + registry: git.bbnavi.vk256.eu + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASSWORD }} + - id: docker_build + uses: docker/build-push-action@v2 + with: + build-args: | + NUXT_PUBLIC_AUTH_SECRET=${{ secrets.NUXT_PUBLIC_AUTH_SECRET }} + NUXT_PUBLIC_AUTH_ORIGIN=${{ secrets.NUXT_PUBLIC_AUTH_ORIGIN }} + NUXT_PUBLIC_AUTH_ENDPOINT=${{ secrets.NUXT_PUBLIC_AUTH_ENDPOINT }} + NUXT_PUBLIC_USER_ENDPOINT=${{ secrets.NUXT_PUBLIC_USER_ENDPOINT }} + NUXT_PUBLIC_GRAPHQL_ENDPOINT=${{ secrets.NUXT_PUBLIC_GRAPHQL_ENDPOINT }} + NUXT_PUBLIC_GRAPHQL_AUTH_ENDPOINT=${{ secrets.NUXT_PUBLIC_GRAPHQL_AUTH_ENDPOINT }} + push: true + tags: git.bbnavi.vk256.eu/bbnavi/cms:latest +