Browse Source

fix CI pipelines

pull/822/head
Fexiven 10 months ago
parent
commit
6a62e09ed6
  1. 11
      .github/workflows/release-web.yml
  2. 4
      packages/web/infra/Containerfile

11
.github/workflows/release-web.yml

@ -120,15 +120,12 @@ jobs:
id: tags
shell: bash
run: |
TAGS="${{ steps.meta.outputs.tag }}"
if [ "${{ steps.meta.outputs.push_latest }}" = "true" ]; then
echo "list=latest, ${{ steps.meta.outputs.tag }}" >> "$GITHUB_OUTPUT"
else
echo "list=${{ steps.meta.outputs.tag }}" >> "$GITHUB_OUTPUT"
fi
TAGS="latest, ${{ steps.meta.outputs.tag }}"
else
TAGS="${{ steps.meta.outputs.tag }}"
TAGS="latest,${TAGS}"
fi
echo "list=$TAGS" >> "$GITHUB_OUTPUT"
echo "Using image tags: $TAGS"

4
packages/web/infra/Containerfile

@ -6,9 +6,9 @@ RUN rm -r /usr/share/nginx/html \
WORKDIR /usr/share/nginx/html
ADD ./dist .
ADD ./packages/web/dist .
COPY ./infra/default.conf /etc/nginx/conf.d/default.conf
COPY ./packages/web/infra/default.conf /etc/nginx/conf.d/default.conf
EXPOSE 8080

Loading…
Cancel
Save