Skip to content

Commit

Permalink
Build for branch dev
Browse files Browse the repository at this point in the history
  • Loading branch information
rigon committed Oct 29, 2023
1 parent 8a07554 commit d807a20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- "master"
- "dev"
- "*-framework"
tags:
- "v*.*.*"
Expand Down Expand Up @@ -56,8 +57,8 @@ jobs:
name: Demo docker image
needs: build
runs-on: ubuntu-latest
# Run only when it is a release build
if: github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
# Run only when it is a dev update
if: github.ref == 'refs/heads/dev'

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.demo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rigon/photo-gallery:latest
FROM rigon/photo-gallery:dev

RUN touch /photos/Favorites.PG-ALBUM; \
set -- Nature Film Animals Travel People "Machu Picchu" "The Grand Canyon" "Great Barrier Reef" Maldives Paris Iceland \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "photo-gallery",
"private": true,
"version": "1.5.2",
"version": "1.5.2-dev",
"type": "module",
"description": "Photo Gallery is a self-hosted performant application to organize your photos. Built for speed with React and Go.",
"scripts": {
Expand Down

0 comments on commit d807a20

Please sign in to comment.