Fix git branch name in Fluffy docker nightly build (#1404)
And change build hour temporarily
This commit is contained in:
parent
b9ce04ecfc
commit
1cdbc1293d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue