Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 02:36:10 +01:00
forgejo/.github/workflows
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
..
cron-licenses.yml Build nightly binaries with Actions (#25308) (#25314) 2023-06-16 19:59:20 +02:00
cron-lock.yml Don't run build and test if only docs changed (#24530) 2023-05-16 02:53:18 +00:00
cron-translations.yml Build nightly binaries with Actions (#25308) (#25314) 2023-06-16 19:59:20 +02:00
files-changed.yml Clean up github actions (#24984) 2023-05-30 13:31:00 +08:00
pull-compliance.yml GitHub Actions enhancements for frontend (#25150) (#25259) 2023-06-14 15:59:46 +00:00
pull-db-tests.yml GitHub Actions enhancements for frontend (#25150) (#25259) 2023-06-14 15:59:46 +00:00
pull-docker-dryrun.yml GitHub Actions enhancements for frontend (#25150) (#25259) 2023-06-14 15:59:46 +00:00
pull-e2e-tests.yml GitHub Actions enhancements for frontend (#25150) (#25259) 2023-06-14 15:59:46 +00:00
release-nightly.yml Use Actions git context instead of dynamically created buildkit one (#25381) (#25383) 2023-06-20 08:52:38 +02:00