tweaks
ci / build (push) Failing after 1m54s Details

This commit is contained in:
CJ_Clippy 2024-07-12 07:24:30 -08:00
parent 7c7b0bc32f
commit a61c88e536
2 changed files with 31 additions and 29 deletions

View File

@ -13,37 +13,38 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
name: Check out code name: Check out code
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build futureporn/scout-worker
with:
image: futureporn/scout-worker
tags: latest
target: worker
registry: gitea.futureporn.net
dockerfile: d.scout.dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: mr-smithers-excellent/docker-build-push@v6 # - uses: mr-smithers-excellent/docker-build-push@v6
name: Build futureporn/scout-manager # name: Build futureporn/scout-worker
with: # with:
image: futureporn/scout-manager # image: futureporn/scout-worker
tags: latest # tags: latest
target: manager # target: worker
registry: gitea.futureporn.net # registry: gitea.futureporn.net
dockerfile: d.scout.dockerfile # dockerfile: d.scout.dockerfile
username: ${{ secrets.DOCKER_USERNAME }} # username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} # password: ${{ secrets.DOCKER_PASSWORD }}
- uses: mr-smithers-excellent/docker-build-push@v6 # - uses: mr-smithers-excellent/docker-build-push@v6
name: Build futureporn/link2cid # name: Build futureporn/scout-manager
with: # with:
image: futureporn/link2cid # image: futureporn/scout-manager
tags: latest # tags: latest
registry: gitea.futureporn.net # target: manager
dockerfile: d.link2cid.dockerfile # registry: gitea.futureporn.net
username: ${{ secrets.DOCKER_USERNAME }} # dockerfile: d.scout.dockerfile
password: ${{ secrets.DOCKER_PASSWORD }} # username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
# - uses: mr-smithers-excellent/docker-build-push@v6
# name: Build futureporn/link2cid
# with:
# image: futureporn/link2cid
# tags: latest
# registry: gitea.futureporn.net
# dockerfile: d.link2cid.dockerfile
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
- uses: mr-smithers-excellent/docker-build-push@v6 - uses: mr-smithers-excellent/docker-build-push@v6
name: Build futureporn/next name: Build futureporn/next

View File

@ -30,6 +30,7 @@ CMD ["run", "develop"]
FROM base AS strapi FROM base AS strapi
WORKDIR /opt/app
RUN chown -R node:node /opt/app RUN chown -R node:node /opt/app
USER node USER node
COPY --from=build /prod/strapi . COPY --from=build /prod/strapi .