Skip to content

Commit

Permalink
Rename image - specify cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonbaeten committed Apr 26, 2024
1 parent 3ded330 commit 404f3ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: tgbs
VERSION: $GITHUB_SHA

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ RUN curl -sSLfo /usr/local/bin/restic.bz2 \

# Install backup scripts
COPY bin/* /usr/local/bin/
RUN ["/usr/local/bin/backup.sh"]
CMD ["/usr/local/bin/backup.sh"]
2 changes: 2 additions & 0 deletions bin/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

set -eo pipefail

echo "TGBS backup starting..."

/usr/local/bin/docker-psql-backup.sh
/usr/local/bin/docker-file-backup.sh

0 comments on commit 404f3ef

Please sign in to comment.