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