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 f830911 commit 0c75c0c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/logical-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ jobs:
# type=ref,event=tag
# flavor: |
# latest=false
# - name: Login to GitHub Container Registry
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

# - name: Build & push container image
# id: docker_build
# uses: docker/[email protected]
# with:
# file: "./logical-backup/Dockerfile"
# context: .
# labels: ${{ steps.meta.outputs.labels }}
# push: true
# tags: ${{ steps.meta.outputs.tags }}
- name: Build & push container image
id: docker_build
uses: docker/[email protected]
with:
file: "${{ steps.changed-files.outputs.all_changed_files }}"
context: .
labels: ${{ steps.meta.outputs.labels }}
push: true
tags: ${{ steps.meta.outputs.tags }}
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 0c75c0c

Please sign in to comment.