update workflow

This commit is contained in:
2023-07-06 20:45:12 +02:00
parent a8bd5b1922
commit 188ce01837
+16 -3
View File
@@ -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