diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ded723c..187564f 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,7 +1,7 @@ name: Build and Push Docker Container on: schedule: - - cron: "0 11 * * 5" + - cron: "0 19 * * 4" jobs: build-and-push: @@ -22,10 +22,23 @@ jobs: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - - name: Build and push Docker image + - name: Build and push Docker image for latest tag uses: docker/build-push-action@v2 with: context: . push: true tags: daniel156161/borgbackup-ssh:latest - platforms: linux/amd64 # Ersetze dies durch die gewünschten Plattformen + platforms: linux/amd64 + + # Change to Brache archlinux + - uses: actions/checkout@v2 + with: + ref: archlinux + + - name: Build and push Docker image for latest tag + uses: docker/build-push-action@v2 + with: + context: . + push: true + tags: daniel156161/borgbackup-ssh:archlinux + platforms: linux/amd64