Skip to content

Commit

Permalink
Add Docker Publish workflows for Edge and Release images
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydrogers committed Jan 10, 2024
1 parent c0c5600 commit 77f8b7f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/action_app-publish-edge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Docker Publish (Edge Image)
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- 'docs/**'
schedule:
- cron: '0 8 * * 1'

jobs:
build-edge:
uses: ./.github/workflows/service_docker-build-and-publish.yml
with:
docker-tags: "serversideup/financial-freedom:edge"
dockerfile: "./Dockerfile.php"
secrets: inherit
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
name: Docker Publish (Edge Image)
name: Docker Publish (Release)
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- 'docs/**'
schedule:
- cron: '0 8 * * 1'
release:
types: [published]

jobs:
build-edge-images:
release:
uses: ./.github/workflows/service_docker-build-and-publish.yml
with:
docker-tags: "serversideup/financial-freedom:edge"
docker-tags: "serversideup/financial-freedom:latest,serversideup/financial-freedom:${{ github.ref_name }}"
dockerfile: "./Dockerfile.php"
secrets: inherit

Expand All @@ -22,7 +17,7 @@ jobs:
name: Push README to Docker Hub
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main

Expand Down

0 comments on commit 77f8b7f

Please sign in to comment.