Fix git branch name in Fluffy docker nightly build (#1404)

And change build hour temporarily
This commit is contained in:
Kim De Mey 2023-01-03 10:08:24 +01:00 committed by GitHub
parent b9ce04ecfc
commit 1cdbc1293d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,7 @@
name: Fluffy nightly Docker build
on:
schedule:
- cron: "30 3 * * *"
- cron: "30 10 * * *"
workflow_dispatch:
jobs:
@ -20,8 +20,6 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push a nightly Docker image
run: |
REFNAME="${{ github.ref }}"
TAG="${REFNAME#refs/tags/}"
DOCKER_BUILDKIT=1 docker build -f ./fluffy/tools/docker/Dockerfile -t statusim/fluffy:amd64-${TAG} -t statusim/fluffy:amd64-latest .
docker push statusim/fluffy:amd64-${TAG}
docker push statusim/fluffy:amd64-latest
REFNAME="${{ github.ref_name }}"
DOCKER_BUILDKIT=1 docker build -f ./fluffy/tools/docker/Dockerfile -t statusim/fluffy:amd64-${REFNAME}-latest .
docker push statusim/fluffy:amd64-${REFNAME}-latest