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

feat: Build and push Docker images to ghcr.io #8

Merged
merged 4 commits into from
Nov 12, 2023
Merged

feat: Build and push Docker images to ghcr.io #8

merged 4 commits into from
Nov 12, 2023

Conversation

Searge
Copy link
Contributor

@Searge Searge commented Nov 12, 2023

Description

This Merge Request introduces several enhancements related to Docker image building, GitHub Actions, and Taskfile updates. The changes include:

  • Addition of Docker-related files: .dockerignore, .gitignore, build/docker/Dockerfile, scripts/build.sh.
  • Update to Taskfile.dist.yml with new tasks: install, build-all, build-docker, push-docker.
  • Introducing a GitHub Actions workflow file: .github/workflows/ci.yml for building and pushing Docker images on release and manual dispatch events.

Changes

  • New files: .dockerignore, .gitignore, build/docker/Dockerfile, scripts/build.sh, .github/workflows/ci.yml.
  • Updates to existing files: Taskfile.dist.yml.

Additional Context

This MR aims to streamline our CI/CD process, enhance Docker image building, and integrate GitHub Actions for automated workflows.

Checklist

  • Taskfile changes reviewed.
  • Docker-related files reviewed.
  • GitHub Actions workflow reviewed.
  • Conventional Commits used for clear version history.
  • Local testing performed.

- Added .dockerignore, .gitignore, Taskfile.dist.yml, build/docker/Dockerfile, scripts/build.sh.
- Updated Taskfile.dist.yml with new tasks: install, build-all, build-docker, push-docker.
- Modified build.sh to include new options for Docker image building.
…r image

- Added new GitHub Actions workflow file: `.github/workflows/ci.yml`.
- Workflow triggers on release and manual dispatch events.
- Defines environment variables for the container registry and image name.
- Includes steps for checking out the repository, running Conventional Changelog Action, and building/pushing Docker image using go-task.
Copy link

Thanks for opening this PR/Issue 🤗
Please wait while the maintainer(s) review it

Fun fact:

theRewriteGang
meme
ℹ️ Source

@Searge Searge added the enhancement New feature or request label Nov 12, 2023
@Searge Searge requested a review from vanelin November 12, 2023 13:40
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

scripts/build.sh Fixed Show fixed Hide fixed
scripts/build.sh Fixed Show fixed Hide fixed
scripts/build.sh Fixed Show fixed Hide fixed
@GeekOpsUA GeekOpsUA deleted a comment from github-actions bot Nov 12, 2023
@Searge Searge merged commit 31c225e into develop Nov 12, 2023
10 checks passed
@Searge Searge deleted the searge branch November 12, 2023 13:50
Searge added a commit that referenced this pull request Nov 12, 2023
* Add Docker-related files and update Taskfile
  - Added .dockerignore, .gitignore, Taskfile.dist.yml, build/docker/Dockerfile, scripts/build.sh.
  - Updated Taskfile.dist.yml with new tasks: install, build-all, build-docker, push-docker.
  - Modified build.sh to include new options for Docker image building.

* Add GitHub Actions workflow for building and pushing Docker image
  - Added new GitHub Actions workflow file: `.github/workflows/ci.yml`.
  - Workflow triggers on release and manual dispatch events.
  - Defines environment variables for the container registry and image name.
  - Includes steps for checking out the repository, running Conventional Changelog Action, and building/pushing Docker image using go-task.
Searge added a commit that referenced this pull request Nov 12, 2023
Searge added a commit that referenced this pull request Nov 12, 2023
@Searge Searge restored the searge branch November 12, 2023 14:35
@Searge Searge deleted the searge branch November 12, 2023 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant