Compare commits

..

5 Commits

Author SHA1 Message Date
renovate fc5e54e730 Update binwiederhier/ntfy Docker tag to v2.24.0
Docker Build and Push / build (pull_request) Successful in 33s
2026-06-04 19:24:00 +00:00
jcabillot bdde33e68a feat: add Gitea Actions workflow
Docker Build and Push / build (push) Successful in 45s
feat: add Gitea Actions workflow
2026-05-29 16:21:46 -04:00
Julien Cabillot 58ae75da62 feat: add Gitea Actions workflow 2026-05-29 14:48:39 -04:00
Julien Cabillot f87295d1d7 feat: add Gitea Actions workflow 2026-05-29 14:21:22 -04:00
Julien Cabillot 62455e4a2a feat: add Gitea Actions workflow 2026-05-29 14:07:09 -04:00
2 changed files with 47 additions and 1 deletions
+46
View File
@@ -0,0 +1,46 @@
name: Docker Build and Push
on:
pull_request:
branches: [master]
push:
branches: [master]
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker metadata
id: meta
uses: docker/metadata-action@v6
with:
images: jcabillot/huawei-3g-sms-api
tags: |
#type=ref,event=branch
#type=ref,event=pr
#type=sha
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
- name: Build and push
uses: docker/build-push-action@v7
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
+1 -1
View File
@@ -19,7 +19,7 @@ WORKDIR "/app"
ENTRYPOINT [ "/app/entrypoint.sh" ]
COPY --from=binwiederhier/ntfy:v2.23.0 /usr/bin/ntfy /usr/local/bin/ntfy
COPY --from=binwiederhier/ntfy:v2.24.0 /usr/bin/ntfy /usr/local/bin/ntfy
RUN mkdir /etc/ntfy
COPY --from=pipdependencies /root/.local /root/.local