diff --git a/.github/workflows/build-slides.yaml b/.github/workflows/build-slides.yaml index 3d99b499..ca9d512c 100644 --- a/.github/workflows/build-slides.yaml +++ b/.github/workflows/build-slides.yaml @@ -9,7 +9,7 @@ jobs: build-slides-stg: runs-on: ubuntu-latest steps: - - + - name: Checkout uses: actions/checkout@v3 with: @@ -22,13 +22,13 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Login to Quay.io Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v2 with: registry: quay.io username: ${{ secrets.QUAYIO_USERNAME }} password: ${{ secrets.QUAYIO_TOKEN }} - - - name: Build Slides + - + name: Build Slides uses: docker/build-push-action@v3 with: context: . @@ -55,12 +55,12 @@ jobs: with: name: trivy-results-build path: trivy-results.txt - - + - name: Install Kubectl uses: azure/setup-kubectl@v3 with: version: v1.21.2 - - + - name: Deploy RevealJS Stg env: TRAINING_NAMESPACE: 'pitc-ansible-training-stg' diff --git a/slides/Dockerfile b/slides/Dockerfile index 8f0b10de..5712927d 100644 --- a/slides/Dockerfile +++ b/slides/Dockerfile @@ -6,7 +6,7 @@ WORKDIR /app RUN --mount=type=secret,id=gitlab_pullsecret PULLSECRET=$(cat /run/secrets/gitlab_pullsecret) \ && git clone https://github.com/hakimel/reveal.js.git reveal \ - && git clone https://:${PULLSECRET}@gitlab.puzzle.ch/pitc_members/pitc-revealjs-theme.git puzzle-theme \ + && git clone https://github.com/puzzle/pitc-revealjs-theme.git puzzle-theme \ && mv puzzle-theme/css/theme/puzzle.css reveal/css/theme/ \ && mv puzzle-theme/css/theme/source/puzzle.scss reveal/css/theme/source/ \ && mv puzzle-theme/css/theme/source/puzzle-imgs reveal/css/theme/source/ \ @@ -23,6 +23,6 @@ RUN patch --forward --strip=1 index.html --input=index.html.patch \ RUN chgrp -R 0 ${NPM_CONFIG_CACHE} \ && chmod -R g=u ${NPM_CONFIG_CACHE} - + EXPOSE 8000 CMD ["npm", "start", "--", "--host=0.0.0.0"]