2023-01-02 19:50:52 +00:00
|
|
|
name: Fluffy nightly Docker build
|
|
|
|
on:
|
|
|
|
schedule:
|
2023-01-03 21:38:41 +00:00
|
|
|
- cron: "30 3 * * *"
|
2023-01-02 19:50:52 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
# Keeping it simple and only providing AMD64 latest image as that is what is
|
|
|
|
# needed for testing Portal-Hive
|
|
|
|
build-amd64:
|
|
|
|
name: Linux AMD64 Docker build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Login to Docker Hub
|
|
|
|
uses: docker/login-action@v1
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
- name: Build and push a nightly Docker image
|
|
|
|
run: |
|
2023-01-03 09:08:24 +00:00
|
|
|
REFNAME="${{ github.ref_name }}"
|
2023-01-03 21:38:41 +00:00
|
|
|
DOCKER_BUILDKIT=1 docker build -f ./fluffy/tools/docker/Dockerfile -t statusim/nimbus-fluffy:amd64-${REFNAME}-latest .
|
|
|
|
docker push statusim/nimbus-fluffy:amd64-${REFNAME}-latest
|