Skip to content

Commit

Permalink
Merge pull request #60 from edenia/dev
Browse files Browse the repository at this point in the history
Buil and deploy in pdn env with github actions.
  • Loading branch information
fagomezra authored Nov 3, 2022
2 parents c0532ec + d72d832 commit 961d3fc
Show file tree
Hide file tree
Showing 51 changed files with 2,334 additions and 779 deletions.
484 changes: 0 additions & 484 deletions .github/workflows/build.yml

This file was deleted.

11 changes: 2 additions & 9 deletions .github/workflows/eden-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- "test/*"
paths:
- "docker/eden-builder.Dockerfile"
pull_request:
types: [assigned, opened, synchronize, reopened, labeled]
- dev
paths:
- "docker/eden-builder.Dockerfile"

Expand All @@ -28,9 +23,7 @@ jobs:
REGISTRY="ghcr.io"
IMAGE="${REGISTRY}/${{ github.repository_owner }}/eden-builder"
TAGS="${IMAGE}:${{ github.sha }}"
if [[ $GITHUB_REF == ref/head/main ]]; then
TAGS="${TAGS},${IMAGE}:latest"
fi
TAGS="${TAGS},${IMAGE}:latest"
echo ::set-output name=tags::${TAGS,,}
- name: Showtag
Expand Down
Loading

0 comments on commit 961d3fc

Please sign in to comment.