-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nihaldivyam
committed
Apr 1, 2024
1 parent
ab1f8d3
commit e0c5c65
Showing
3 changed files
with
4 additions
and
3 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 |
---|---|---|
|
@@ -31,12 +31,12 @@ jobs: | |
run: | | ||
IFS=',' read -r -a CHANGED_FILES_ARRAY <<< "${{ steps.list-changed-files.outputs.changed-files }}" | ||
echo "::set-output name=changed-files-array::${CHANGED_FILES_ARRAY[@]}" | ||
- name: Generate container metadata | ||
id: meta | ||
uses: docker/[email protected] | ||
with: | ||
images: ghcr.io/obmondo/${{ steps.changed-files.outputs.all_changed_files}} | ||
images: ghcr.io/obmondo/${{ steps.convert-to-array.outputs.changed-files-array}} | ||
tags: | | ||
type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }} | ||
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} | ||
|
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 |
---|---|---|
|
@@ -39,4 +39,4 @@ COPY ./* ./ | |
|
||
ENV PG_DIR=/usr/lib/postgresql | ||
|
||
ENTRYPOINT ["/dump.sh"] | ||
ENTRYPOINT ["/dump.sh"] |
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 |
---|---|---|
|
@@ -23,3 +23,4 @@ RUN chmod 775 /usr/local/bin/mongouri | |
VOLUME /backup | ||
|
||
CMD /usr/local/bin/entrypoint | ||
|