diff --git a/.github/workflows/publish-image.yaml b/.github/workflows/publish-image.yaml index 2e9d65d..d5d8ddf 100644 --- a/.github/workflows/publish-image.yaml +++ b/.github/workflows/publish-image.yaml @@ -32,9 +32,13 @@ jobs: MAJOR="$(echo "${VERSION}" | cut -d. -f1)" MINOR="$(echo "${VERSION}" | cut -d. -f2)" TAGS="$TAGS,${DOCKER_IMAGE}:${MAJOR},${DOCKER_IMAGE}:${MAJOR}.${MINOR}" - if [[ $VERSION =~ ^5\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then - TAGS="$TAGS,${DOCKER_IMAGE}:latest" - fi + + # Debug output + echo "Current version: ${VERSION}" + echo "Version pattern check: $([[ $VERSION =~ ^5\.[0-9]{1,3}\.[0-9]{1,3}$ ]] && echo "matches" || echo "doesn't match")" + + TAGS="$TAGS,${DOCKER_IMAGE}:latest" + echo "tags=${TAGS}" >> $GITHUB_OUTPUT # Updated output syntax echo "version=${VERSION}" >> $GITHUB_OUTPUT echo "major=${MAJOR}" >> $GITHUB_OUTPUT diff --git a/debian/docker-compose.yml b/debian/docker-compose.yml index 5faea18..5f81d59 100644 --- a/debian/docker-compose.yml +++ b/debian/docker-compose.yml @@ -8,7 +8,7 @@ x-logging: &default-logging services: app: - image: invoiceninja/invoiceninja-debian:5 + image: invoiceninja/invoiceninja-debian:5.10.55-d restart: unless-stopped env_file: - ./.env @@ -35,7 +35,7 @@ services: image: nginx:alpine restart: unless-stopped ports: - - "80:80" + - "8013:80" volumes: - ./nginx/conf.d:/etc/nginx/conf.d:ro - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro