Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: build and publish daed docker image with geosite/geoip #19

Merged
merged 7 commits into from
Jun 13, 2023

Conversation

kunish
Copy link
Member

@kunish kunish commented Jun 11, 2023

Description

This PR adds a dedicated workflow file to support build and publish daed docker image with geosite/geoip within github ci

Note

Only build linux/amd64 for now

@kunish kunish requested a review from a team as a code owner June 11, 2023 10:47
@kunish kunish requested review from mzz2017 and piyoki June 11, 2023 10:47
.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/publish-docker-image.yml Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Copy link
Contributor

@piyoki piyoki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any test result?

Comment on lines 15 to 24
- name: docker image - quay.io
uses: aevea/action-kaniko@master
with:
registry: quay.io
username: ${{ github.repository_owner }}
password: ${{ secrets.QUAY_PASS }}
image: ${{ github.repository }}
build_file: Dockerfile
tag_with_latest: true
cache: true
cache_registry: quay.io/${{ github.repository_owner }}/cache
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a quick note: with this setup, Kaniko can ONLY build one arch-based image at a time.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, noted, then github matrix is needed here

Dockerfile Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
@piyoki
Copy link
Contributor

piyoki commented Jun 11, 2023

Also, consider adding a .dockerignore file to the project root.

@kunish kunish force-pushed the ci-publish-docker-image branch from 1cb67f8 to 364dcb3 Compare June 11, 2023 11:57
piyoki
piyoki previously approved these changes Jun 11, 2023
@kunish kunish force-pushed the ci-publish-docker-image branch 2 times, most recently from 78fe6f1 to 7b2569c Compare June 11, 2023 16:27
@kunish kunish force-pushed the ci-publish-docker-image branch from 7b2569c to 8907ce7 Compare June 11, 2023 16:37
@kunish kunish requested a review from mzz2017 June 11, 2023 16:38
@kunish kunish force-pushed the ci-publish-docker-image branch from ba98b22 to 700f2cc Compare June 13, 2023 06:45
@kunish kunish force-pushed the ci-publish-docker-image branch from a8e281e to 5ee071a Compare June 13, 2023 07:09
@kunish
Copy link
Member Author

kunish commented Jun 13, 2023

@kunish kunish merged commit 4813fba into main Jun 13, 2023
@kunish kunish deleted the ci-publish-docker-image branch June 13, 2023 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] Bundle dae-wing and its deps in dockerfile
3 participants