From 25d95668f6a6fa4f8d0882cb8de9de944f53ee08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicente=20Fern=C3=A1ndez=20Guerra?= Date: Wed, 20 Dec 2023 21:13:40 +0100 Subject: [PATCH] chore(deps): Update dependencies and automate build and push --- .github/workflows/docker-publish.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index fd79bfe..127d6a3 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -4,6 +4,8 @@ on: release: branches: [ master ] types: [ published ] + schedule: + - cron: '0 5 * * *' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -12,29 +14,29 @@ jobs: docker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4.1.1 - name: "call action" id: last_release uses: pozetroninc/github-action-get-latest-release@v0.7.0 with: owner: vinanrra - repo: Docker-7DaysToDie + repo: Docker-Satisfactory - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3.0.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3.0.0 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3.0.0 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push id: docker_build - uses: docker/build-push-action@v4.1.1 + uses: docker/build-push-action@v5.1.0 with: push: true tags: |