Fix entrypoint persmisson

This commit is contained in:
Félix MARQUET
2024-10-21 16:41:25 +02:00
committed by GitHub
parent a14cc1848f
commit 0be8d008c5
3 changed files with 7 additions and 8 deletions

View File

@@ -14,20 +14,20 @@ jobs:
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/ntfy_alerts:latest
tags: ${{ secrets.DOCKER_USERNAME }}/github-ntfy:latest
release-on-github:
runs-on: ubuntu-latest

View File

@@ -5,13 +5,13 @@ LABEL version_number="1.4"
ADD ntfy.py /
ADD ntfy_api.py /
ADD migration.py /migration.py /
ADD requirements.txt /
ADD entrypoint.sh /
ADD index.html /var/www/html/index.html /
ADD script.js /var/www/html/script.js /
ADD index.html /var/www/html/index.html
ADD script.js /var/www/html/script.js
RUN apk add --no-cache sqlite-dev sqlite-libs gcc musl-dev nginx
RUN pip install -r requirements.txt
RUN chmod 700 /entrypoint.sh
# Définir les variables d'environnement pour username et password
ENV USERNAME="" \

View File

@@ -21,7 +21,6 @@ python ntfy.py
## Docker:
If you want to use the docker image you can use the following docker-compose file:
````yaml
version: '3'
services:
github-ntfy:
image: breizhhardware/github-ntfy:latest