Skip to content

Commit

Permalink
GA test
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaldivyam committed Apr 1, 2024
1 parent 0c75c0c commit 7a0206f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/logical-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
with:
files: |
**/Dockerfile
**.sh
- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
Expand All @@ -30,17 +29,18 @@ jobs:
echo "$file was changed"
done
# - name: Generate container metadata
# id: meta
# uses: docker/metadata-action@v3
# with:
# images: ghcr.io/obmondo/logical-backup
# 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) }}
# type=ref,event=tag
# flavor: |
# latest=false
- name: Generate container metadata
id: meta
uses: docker/[email protected]
with:
images: ghcr.io/obmondo/logical-backup
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) }}
type=ref,event=tag
flavor: |
latest=false
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion logical-backup/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ COPY ./* ./

ENV PG_DIR=/usr/lib/postgresql

ENTRYPOINT ["/dump.sh"]
ENTRYPOINT ["/dump.sh"]
2 changes: 1 addition & 1 deletion logical-backup/dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ else
[[ ${PIPESTATUS[0]} != 0 || ${PIPESTATUS[1]} != 0 || ${PIPESTATUS[2]} != 0 ]] && (( ERRORCOUNT += 1 ))
set +x
exit $ERRORCOUNT
fi
fi

0 comments on commit 7a0206f

Please sign in to comment.