mirror of
https://github.com/wger-project/wger.git
synced 2026-12-02 10:09:21 +01:00
33 lines
786 B
YAML
33 lines
786 B
YAML
name: Build and push base Docker images
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 5 1 * *'
|
|
|
|
jobs:
|
|
path-context:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.3.4
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v1.2.0
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v1.5.1
|
|
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v1.10.0
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
- name: Build base image
|
|
uses: docker/build-push-action@v2.6.1
|
|
with:
|
|
context: .
|
|
file: extras/docker/base/Dockerfile
|
|
push: true
|
|
tags: wger/base:latest,wger/base:2.1-dev
|