mirror of
https://github.com/docker/build-push-action.git
synced 2026-06-30 19:12:00 +00:00
Compare commits
5 Commits
eef6ae730f
...
62526f2195
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62526f2195 | ||
|
|
cb8fc7586f | ||
|
|
5225a9fc21 | ||
|
|
67fd9409c7 | ||
|
|
b515073d1d |
1
.github/e2e/nexus/install.sh
vendored
1
.github/e2e/nexus/install.sh
vendored
@ -76,6 +76,7 @@ until $(curl --output /dev/null --silent --head --fail "http://$NEXUS_HOST:$NEXU
|
||||
printf '.'
|
||||
sleep 5
|
||||
done
|
||||
echo "ready!"
|
||||
echo "::endgroup::"
|
||||
|
||||
echo "::group::Change user's password"
|
||||
|
||||
4
.github/workflows/.e2e-run.yml
vendored
4
.github/workflows/.e2e-run.yml
vendored
@ -27,9 +27,9 @@ on:
|
||||
type: string
|
||||
|
||||
env:
|
||||
HARBOR_VERSION: v2.7.0
|
||||
HARBOR_VERSION: v2.13.2
|
||||
NEXUS_VERSION: 3.47.1
|
||||
DISTRIBUTION_VERSION: 2.8.1
|
||||
DISTRIBUTION_VERSION: 3.0.0
|
||||
|
||||
jobs:
|
||||
run:
|
||||
|
||||
13
README.md
13
README.md
@ -80,12 +80,13 @@ jobs:
|
||||
tags: user/app:latest
|
||||
```
|
||||
|
||||
Be careful because **any file mutation in the steps that precede the build step
|
||||
will be ignored, including processing of the `.dockerignore` file** since
|
||||
the context is based on the Git reference. However, you can use the
|
||||
[Path context](#path-context) using the [`context` input](#inputs) alongside
|
||||
the [`actions/checkout`](https://github.com/actions/checkout/) action to remove
|
||||
this restriction.
|
||||
**Important Considerations for Git Context**
|
||||
|
||||
* **File Mutations** perfomred during your workflow will **not** be reflected in the final Docker image.
|
||||
|
||||
* **.dockerignore** is ignored altogether when using git context.
|
||||
|
||||
You can remove these limitations by using the [path context](#path-context) input alongside the [`actions/checkout`](https://github.com/actions/checkout/) action.
|
||||
|
||||
Default Git context can also be provided using the [Handlebars template](https://handlebarsjs.com/guide/)
|
||||
expression `{{defaultContext}}`. Here we can use it to provide a subdirectory
|
||||
|
||||
Loading…
Reference in New Issue
Block a user