From 188ce01837208d6a34f649449de1a1401df6de72 Mon Sep 17 00:00:00 2001 From: Daniel Dolezal Date: Thu, 6 Jul 2023 20:45:12 +0200 Subject: [PATCH] update workflow --- .github/workflows/docker-image.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) 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