diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46361f5..87cd854 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -278,4 +278,4 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} # Only push if (there's a new release on main branch, or if building a non-main branch) and (Only run on non-PR events or only PRs that aren't from forks) - push: ${{ (github.ref != 'refs/heads/master' || needs.semantic-release.outputs.new_release_version != '') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }} + push: ${{ (github.ref != 'refs/heads/main' || needs.semantic-release.outputs.new_release_version != '') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }} diff --git a/docker/runes-api.dockerfile b/docker/runes-api.dockerfile index 8664b9a..b0b58f8 100644 --- a/docker/runes-api.dockerfile +++ b/docker/runes-api.dockerfile @@ -2,7 +2,7 @@ FROM node:20-alpine WORKDIR /app COPY ./api /app -COPY .git /app/.git +COPY .git /.git RUN apk add --no-cache --virtual .build-deps git RUN npm ci --no-audit && \