File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818permissions :
1919 contents : read # to fetch code (actions/checkout)
2020
21-
22- env :
23- # Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action)
24- # For a new commit on default branch (main), use the literal tag 'latest' on Docker image.
25- # For a new commit on other branches, use the branch name as the tag for Docker image.
26- # For a new tag, copy that tag name as the tag for Docker image.
27- IMAGE_TAGS : |
28- type=raw,value=latest,enable=${{ github.ref_name == github.event.repository.default_branch }}
29- type=ref,event=branch,enable=${{ github.ref_name != github.event.repository.default_branch }}
30- type=ref,event=tag
31- # Define default tag "flavor" for docker/metadata-action per
32- # https://github.com/docker/metadata-action#flavor-input
33- # We manage the 'latest' tag ourselves to the 'main' branch (see settings above)
34- TAGS_FLAVOR : |
35- latest=false
36-
3721jobs :
3822 # ############################################################
3923 # Build/Push the 'dspace/dspace-angular' image
You can’t perform that action at this time.
0 commit comments