mirror of
https://github.com/wger-project/wger.git
synced 2026-11-30 02:01:02 +01:00
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.9.0 to 2.10.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v2.9.0...v2.10.0) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
39 lines
920 B
YAML
39 lines
920 B
YAML
name: Build and push base Docker images
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
paths:
|
|
- 'extras/docker/base/Dockerfile'
|
|
schedule:
|
|
- cron: '0 5 1 * *'
|
|
|
|
jobs:
|
|
path-context:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v1.2.0
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v1.6.0
|
|
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v1.14.1
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
- name: Build base image
|
|
uses: docker/build-push-action@v2.10.0
|
|
with:
|
|
context: .
|
|
push: true
|
|
file: extras/docker/base/Dockerfile
|
|
platforms: linux/amd64,linux/arm64
|
|
tags: wger/base:latest,wger/base:2.1-dev
|