Skip to content

Commit

Permalink
added workflow for building on push to dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
raycadle committed Aug 28, 2024
1 parent 8cf40fa commit fe9cf71
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/dev-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Development Docker Image CI for GHCR

on:
push:
branches: [ "dev" ]
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Build and publish the development Docker image to GHCR
run: |
docker login --username raycadle --password ${{ secrets.GH_PAT }} ghcr.io
docker build --build-arg BUILD_DATE="$(date +%d/%m/%y)" --build-arg VERSION="$(date +%R:%S)" --tag ghcr.io/raycadle/ntfy-dev:latest .
docker push ghcr.io/raycadle/ntfy-dev:latest

0 comments on commit fe9cf71

Please sign in to comment.