Fixs
Some checks failed
Build and Push Docker Images / build-and-push (push) Failing after 1m34s

This commit is contained in:
Adrien Bouvais 2026-08-15 17:19:35 +02:00
parent 2782d6d43d
commit 0aa9488627
3 changed files with 4 additions and 6 deletions

View File

@ -40,8 +40,7 @@ jobs:
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: ./images/base context: ./images/base
# Note: Linux is case-sensitive. If your file is literally lowercase "dockerfile", change this to "dockerfile" file: ./images/base/dockerfile
file: ./images/base/Dockerfile
push: true push: true
tags: ${{ steps.meta-base.outputs.tags }} tags: ${{ steps.meta-base.outputs.tags }}
labels: ${{ steps.meta-base.outputs.labels }} labels: ${{ steps.meta-base.outputs.labels }}
@ -62,7 +61,7 @@ jobs:
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: ./images/jupyter context: ./images/jupyter
file: ./images/jupyter/Dockerfile file: ./images/jupyter/dockerfile
push: true push: true
build-args: | build-args: |
BASE_IMAGE=${{ env.REGISTRY }}/${{ env.BASE_IMAGE_NAME }}:${{ steps.meta-base.outputs.version }} BASE_IMAGE=${{ env.REGISTRY }}/${{ env.BASE_IMAGE_NAME }}:${{ steps.meta-base.outputs.version }}

View File

@ -1,4 +1,3 @@
ARG BASE_IMAGE=registry.bouvais.lu/tenant-base:1.0.0
FROM ${BASE_IMAGE} FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title="tenant-jupyter" \ LABEL org.opencontainers.image.title="tenant-jupyter" \
@ -13,7 +12,7 @@ RUN pip install --no-cache-dir -r /tmp/requirements.txt \
USER appuser USER appuser
WORKDIR /home/appuser/work WORKDIR /home/appuser/work
COPY --chown=appuser:appuser test_script.py /home/appuser/test_script.py COPY --chown=appuser:appuser test_script.py /home/appuser/work/test_script.py
EXPOSE 8888 EXPOSE 8888

View File

@ -2,7 +2,7 @@ name: "b"
image: image:
repository: registry.bouvais.lu/tenant-jupyter repository: registry.bouvais.lu/tenant-jupyter
tag: "latest" tag: "1.0.0"
resources: resources:
requests: requests: