Skip to content

docker-buildimage-devdocs #68

docker-buildimage-devdocs

docker-buildimage-devdocs #68

name: docker-buildimage-devdocs
on:
schedule:
- cron: '30 3 * * 0'
push:
branches: [ main ]
paths:
- 'docker/devdocs/**'
- '.github/workflows/docker-buildimage-devdocs.yml'
jobs:
build-image:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
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_USER }}
password: ${{ secrets.DOCKERHUB_PASSWD }}
-
name: Build and push
uses: docker/build-push-action@v3
with:
context: docker/devdocs/
file: docker/devdocs/Dockerfile
platforms: linux/amd64,linux/arm64/v8
push: true
tags: |
docker.io/gsmlg/devdocs:latest