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: add docker image and workflow setup #306

Merged

Conversation

G3root
Copy link
Collaborator

@G3root G3root commented May 8, 2024

No description provided.

@G3root G3root linked an issue May 8, 2024 that may be closed by this pull request
Copy link

github-actions bot commented May 8, 2024

Thank you for following the naming conventions for pull request titles! 🙏

@G3root G3root marked this pull request as ready for review May 8, 2024 11:46
@G3root G3root requested a review from dahal May 8, 2024 11:46
@@ -0,0 +1,29 @@
name: cleanup caches by a branch
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

need to add this to the secrets

uses: docker/metadata-action@v5
with:
images: |
my-docker-hub-namespace/my-docker-hub-repository
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this should be renamed according to the docker hub repoistory name

@dahal dahal force-pushed the 303-docker-create-build-and-publish-docker-image-for-production branch from 7733bb6 to 8eef2fa Compare May 9, 2024 07:33
@G3root
Copy link
Collaborator Author

G3root commented May 9, 2024

@dahal workflows are fixed

@dahal dahal merged commit e505076 into main May 12, 2024
3 checks passed
@dahal dahal deleted the 303-docker-create-build-and-publish-docker-image-for-production branch May 12, 2024 05:26
@dahal dahal restored the 303-docker-create-build-and-publish-docker-image-for-production branch May 12, 2024 05:26
dahal added a commit that referenced this pull request May 12, 2024
* feat: add docker image and workflow setup (#306)

* fix: schema and ignore

* feat: add standalone output

* feat: add docker image

* feat: add runtime env

* feat: init runtime env

* feat: use runtime env

* feat: add cleanup cache action

* feat: add build docker image job

* feat: init changeset

* feat: add changeset script

* chore: add changeset script

* feat: add basic action

* feat: refactor action and build app

* chore: remove script

* fix: add shell

* fix: add shell

* feat: update image label for docker hub / ghcr

* chore: move docker file

* feat: fix file location

* fix: build error

* fix: action

* feat: update cache version

* fix: fetch depth

---------

Co-authored-by: Puru D <puru@dahal.me>

* fix: testing fly deploy with default docker setup

* fix: github action permission

* chore: disable unwanted actions for now so we can test docker workflow

* chore: fix docker image publishing

* chore: testing with captable/captable on docker again

* fix: artifact's subject-path

* fix: Error: Only one of subject-path or subject-digest may be provided

* fix: removing Generate artifact attestation

* fix: remove un-necessary workflow

* feat: rename workflow to release

* chore: remove references to changeset

* chore: undoing docker fly changes

---------

Co-authored-by: Nafees Nazik <84864519+G3root@users.noreply.github.com>
@dahal dahal deleted the 303-docker-create-build-and-publish-docker-image-for-production branch May 12, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Docker] Create, build and publish docker image for production.
2 participants