mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-30 08:03:52 +03:00
28ed763f55
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> |
||
---|---|---|
.. | ||
cron-licenses.yml | ||
cron-lock.yml | ||
cron-translations.yml | ||
files-changed.yml | ||
pull-compliance.yml | ||
pull-db-tests.yml | ||
pull-docker-dryrun.yml | ||
pull-e2e-tests.yml | ||
release-nightly.yml |