Skip to content

build docker container #417

build docker container

build docker container #417

Workflow file for this run

name: build docker container
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
#push:
# branches:
# - 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: eco4cast/rocker-neon4cast:latest
build-args: GITHUB_PAT=${{ secrets.PAT }}
- name: Healthcheck
run: |
curl -m 10 --retry 5 https://hc-ping.com/069f9542-6476-4a07-a6c4-00a55e3b6157