mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Merge pull request #874 from Freika/revert-865-feature/parallel-docker-image-builds
Revert "Feature/parallel docker image builds"
This commit is contained in:
commit
49c6b97aa8
1 changed files with 6 additions and 6 deletions
12
.github/workflows/build_and_push.yml
vendored
12
.github/workflows/build_and_push.yml
vendored
|
|
@ -11,11 +11,8 @@ on:
|
||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push-docker:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
platform: ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/arm/v6"]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -54,7 +51,10 @@ jobs:
|
||||||
# Add :rc tag for pre-releases
|
# Add :rc tag for pre-releases
|
||||||
if [ "${{ github.event.release.prerelease }}" = "true" ]; then
|
if [ "${{ github.event.release.prerelease }}" = "true" ]; then
|
||||||
TAGS="${TAGS},freikin/dawarich:rc"
|
TAGS="${TAGS},freikin/dawarich:rc"
|
||||||
else
|
fi
|
||||||
|
|
||||||
|
# Add :latest tag only if release is not a pre-release
|
||||||
|
if [ "${{ github.event.release.prerelease }}" != "true" ]; then
|
||||||
TAGS="${TAGS},freikin/dawarich:latest"
|
TAGS="${TAGS},freikin/dawarich:latest"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@ jobs:
|
||||||
file: ./docker/Dockerfile.dev
|
file: ./docker/Dockerfile.dev
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.docker_meta.outputs.tags }}
|
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||||
provenance: false
|
provenance: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue