Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmicoppai committed May 14, 2024
2 parents 4884ded + d4ef0be commit 7906036
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Docker Image CI

on:
push:
paths:
- 'xbackup/**'
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: cd xbackup && docker build . --file Dockerfile --tag xbackup:$(date +%s)
4 changes: 2 additions & 2 deletions xbackup/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DB_HOST=host.docker.internal
DB_HOST=127.0.0.1
DB_NAME=test
DB_USER=root
DB_PASS=password
Expand All @@ -12,4 +12,4 @@ S3_ENCRYPTION_KEY=PaR9uIjqp5rtfjmwbl*&INyPvvgqVja61m
S3_UPLOAD_CHUNK_SIZE=50
GPG_PATH=/usr/bin/gpg
ROLLBACK_WINDOW_HR=4
XBACKUP_VOLUME=""
XBACKUP_VOLUME=""

0 comments on commit 7906036

Please sign in to comment.