0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 07:13:02 -05:00
forgejo/.github
Giteabot 28ed763f55
Use Actions git context instead of dynamically created buildkit one (#25381) (#25383)
Backport #25381 by @techknowlogick

The [docker/build-push-action@v2
action](https://github.com/docker/build-push-action) by default ignores
the checkout created using the actions/checkout@v2 action. When you pass
a git build context to docker build, it wouldn't include the .git
directory.

By passing `context: .` to the build step then it'll use the Actions git
context which includes the git fetch from the earlier step.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2023-06-20 08:52:38 +02:00
..
ISSUE_TEMPLATE update discord invite (#19907) 2022-06-07 11:40:27 -04:00
workflows Use Actions git context instead of dynamically created buildkit one (#25381) (#25383) 2023-06-20 08:52:38 +02:00
FUNDING.yml Kd/add bountysource (#14323) 2021-01-13 10:53:17 -05:00
pull_request_template.md Improve pull_request_template.md (#22888) 2023-02-20 19:14:02 -05:00
stale.yml Improve stale message (#9920) 2020-01-22 12:55:27 +02:00