Skip to content

Commit 75eaf97

Browse files
authored
test build
1 parent 9bf6803 commit 75eaf97

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/docker-image.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docker Image CI
1+
name: Docker Image Publish
22

33
on:
44
workflow_dispatch:
@@ -12,17 +12,18 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
- name: Build docker image
16-
run:
17-
build_aarch64:
18-
runs-on: ubuntu-latest-arm
19-
steps:
20-
- uses: actions/checkout@v4
21-
- name: Build the Docker image
15+
- name: Build base image
16+
run: docker buildx build --build-arg CFLAGS="g -O2 -mtune=generic -mavx -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -ffat-lto-objects -fstack-clash-protection -
17+
fcf-protection -mharden-sls=all" --build-arg LDFLASG="-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects" --build-arg DOVECOT_REPO_URL=${{ env.DOVECOT_REPO_URL }} --build-arg DOVECOT_BRANCH=${{ inputs.VERSION }} --build-arg PIGEONHOLE_REPO_URL=${{ env.PIGEONHOLE_REPO_URL }} --build-arg PIGEONHOLE_BRANCH=${{ inputs.VERSION }} --target production-build --tag dovecot/dovecot:${{ inputs.VERSION }}-build-amd64 ${{ inputs.VERSION }}
18+
# build_aarch64:
19+
# runs-on: ubuntu-latest-arm
20+
# steps:
21+
# - uses: actions/checkout@v4
22+
# - name: Build the Docker image
2223

2324

24-
publish:
25-
runs-on: ubuntu-latest
26-
steps:
25+
# publish:
26+
# runs-on: ubuntu-latest
27+
# steps:
2728

2829

0 commit comments

Comments
 (0)