mirror of
https://github.com/wger-project/wger.git
synced 2026-12-03 10:34:01 +01:00
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.4.1 to 1.5.0. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1.4.1...v1.5.0) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
name: Build and push Docker images
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
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.0
|
|
|
|
- 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
|
|
|
|
- name: Build apache image
|
|
uses: docker/build-push-action@v2.6.1
|
|
with:
|
|
context: .
|
|
file: extras/docker/apache/Dockerfile
|
|
push: true
|
|
tags: wger/apache:latest,wger/apache:2.1-dev
|
|
|
|
- name: Build dev image
|
|
uses: docker/build-push-action@v2.6.1
|
|
with:
|
|
context: .
|
|
file: extras/docker/development/Dockerfile
|
|
push: true
|
|
tags: wger/devel:latest,wger/devel:2.1-dev
|