mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-06 06:25:40 +08:00
Upd: Simplify GitHub actions.
This commit is contained in:
parent
4476cba5a5
commit
c1be59d2f5
2 changed files with 22 additions and 22 deletions
22
.github/workflows/master.yml
vendored
22
.github/workflows/master.yml
vendored
|
@ -101,17 +101,17 @@ jobs:
|
|||
build-args: |
|
||||
BASE_IMAGE=alpine:latest
|
||||
|
||||
- name: Build and push Ubuntu
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: boky/postfix:latest-ubuntu
|
||||
platforms: "linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x"
|
||||
cache-from: type=local,src=/tmp/.buildx-cache/ubuntu
|
||||
cache-to: type=local,dest=/tmp/.buildx-cache-new/ubuntu
|
||||
build-args: |
|
||||
BASE_IMAGE=ubuntu:focal
|
||||
# - name: Build and push Ubuntu
|
||||
# uses: docker/build-push-action@v2
|
||||
# with:
|
||||
# context: .
|
||||
# push: true
|
||||
# tags: boky/postfix:latest-ubuntu
|
||||
# platforms: "linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x"
|
||||
# cache-from: type=local,src=/tmp/.buildx-cache/ubuntu
|
||||
# cache-to: type=local,dest=/tmp/.buildx-cache-new/ubuntu
|
||||
# build-args: |
|
||||
# BASE_IMAGE=ubuntu:focal
|
||||
|
||||
- name: Move cache
|
||||
run: |
|
||||
|
|
22
.github/workflows/tags.yml
vendored
22
.github/workflows/tags.yml
vendored
|
@ -101,17 +101,17 @@ jobs:
|
|||
build-args: |
|
||||
BASE_IMAGE=alpine:latest
|
||||
|
||||
- name: Build and push Ubuntu
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: boky/postfix:${{ env.RELEASE_VERSION }}-ubuntu
|
||||
platforms: "linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x"
|
||||
cache-from: type=local,src=/tmp/.buildx-cache/ubuntu
|
||||
cache-to: type=local,dest=/tmp/.buildx-cache-new/ubuntu
|
||||
build-args: |
|
||||
BASE_IMAGE=ubuntu:focal
|
||||
# - name: Build and push Ubuntu
|
||||
# uses: docker/build-push-action@v2
|
||||
# with:
|
||||
# context: .
|
||||
# push: true
|
||||
# tags: boky/postfix:${{ env.RELEASE_VERSION }}-ubuntu
|
||||
# platforms: "linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x"
|
||||
# cache-from: type=local,src=/tmp/.buildx-cache/ubuntu
|
||||
# cache-to: type=local,dest=/tmp/.buildx-cache-new/ubuntu
|
||||
# build-args: |
|
||||
# BASE_IMAGE=ubuntu:focal
|
||||
|
||||
- name: Move cache
|
||||
run: |
|
||||
|
|
Loading…
Add table
Reference in a new issue