-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'craigk5n:master' into documentors
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
bump_version.sh | ||
docker | ||
docs/event_status.gif | ||
docs/extractfaqs.pl | ||
docs/faqs.html | ||
docs/Makefile | ||
docs/php2html.pl | ||
docs/README | ||
docs/sql2html.pl | ||
docs/WebCalendar-Database.html | ||
docs/WebCalendar-DeveloperGuide.html | ||
docs/WebCalendar-Functions.html | ||
docs/WebCalendar-Styling.html | ||
docs/WebCalendar-UserManual.html | ||
*.git | ||
*.gitignore | ||
includes/settings.php | ||
java | ||
Makefile | ||
release-files | ||
tests | ||
TODO | ||
vendor | ||
ws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Publish Dev Docker Image | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
push_dev_to_registry: | ||
name: Push Development Docker image to Docker Hub | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Extract Commit Hash | ||
id: extract_hash | ||
run: echo "::set-output name=hash::$(git rev-parse --short HEAD)" | ||
|
||
- name: Get WebCalendar Version | ||
run: echo "WEBCALENDAR_VERSION=$(./bump_version.sh -p)" >> $GITHUB_ENV | ||
|
||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
|
||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
file: ./docker/Dockerfile-php8 | ||
push: true | ||
tags: | | ||
${{ secrets.DOCKER_HUB_USERNAME }}/webcalendar:${{ env.WEBCALENDAR_VERSION }}-${{ steps.extract_hash.outputs.hash }}-php8-apache-dev | ||
${{ secrets.DOCKER_HUB_USERNAME }}/webcalendar:dev-php8-apache | ||
${{ secrets.DOCKER_HUB_USERNAME }}/webcalendar:dev | ||