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: |
|
build-args: |
|
||||||
BASE_IMAGE=alpine:latest
|
BASE_IMAGE=alpine:latest
|
||||||
|
|
||||||
- name: Build and push Ubuntu
|
# - name: Build and push Ubuntu
|
||||||
uses: docker/build-push-action@v2
|
# uses: docker/build-push-action@v2
|
||||||
with:
|
# with:
|
||||||
context: .
|
# context: .
|
||||||
push: true
|
# push: true
|
||||||
tags: boky/postfix:latest-ubuntu
|
# tags: boky/postfix:latest-ubuntu
|
||||||
platforms: "linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x"
|
# platforms: "linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x"
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache/ubuntu
|
# cache-from: type=local,src=/tmp/.buildx-cache/ubuntu
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache-new/ubuntu
|
# cache-to: type=local,dest=/tmp/.buildx-cache-new/ubuntu
|
||||||
build-args: |
|
# build-args: |
|
||||||
BASE_IMAGE=ubuntu:focal
|
# BASE_IMAGE=ubuntu:focal
|
||||||
|
|
||||||
- name: Move cache
|
- name: Move cache
|
||||||
run: |
|
run: |
|
||||||
|
|
22
.github/workflows/tags.yml
vendored
22
.github/workflows/tags.yml
vendored
|
@ -101,17 +101,17 @@ jobs:
|
||||||
build-args: |
|
build-args: |
|
||||||
BASE_IMAGE=alpine:latest
|
BASE_IMAGE=alpine:latest
|
||||||
|
|
||||||
- name: Build and push Ubuntu
|
# - name: Build and push Ubuntu
|
||||||
uses: docker/build-push-action@v2
|
# uses: docker/build-push-action@v2
|
||||||
with:
|
# with:
|
||||||
context: .
|
# context: .
|
||||||
push: true
|
# push: true
|
||||||
tags: boky/postfix:${{ env.RELEASE_VERSION }}-ubuntu
|
# tags: boky/postfix:${{ env.RELEASE_VERSION }}-ubuntu
|
||||||
platforms: "linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x"
|
# platforms: "linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x"
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache/ubuntu
|
# cache-from: type=local,src=/tmp/.buildx-cache/ubuntu
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache-new/ubuntu
|
# cache-to: type=local,dest=/tmp/.buildx-cache-new/ubuntu
|
||||||
build-args: |
|
# build-args: |
|
||||||
BASE_IMAGE=ubuntu:focal
|
# BASE_IMAGE=ubuntu:focal
|
||||||
|
|
||||||
- name: Move cache
|
- name: Move cache
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue