mirror of
https://github.com/docker/build-push-action
synced 2026-11-30 21:50:17 +00:00
Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
701ce7f32c | ||
|
|
cd3ff47a07 | ||
|
|
45f22b1c11 | ||
|
|
30030c2238 | ||
|
|
562e519479 | ||
|
|
5c9b57d629 | ||
|
|
6c393912ec | ||
|
|
6b4b80ba04 |
@@ -47,9 +47,9 @@ echo "::group::Installing Harbor"
|
|||||||
(
|
(
|
||||||
cd /tmp/harbor
|
cd /tmp/harbor
|
||||||
set -x
|
set -x
|
||||||
./install.sh
|
sudo -H ./install.sh
|
||||||
sleep 10
|
sleep 10
|
||||||
netstat -aptn
|
sudo netstat -aptn
|
||||||
)
|
)
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ echo "::group::Compose config"
|
|||||||
(
|
(
|
||||||
cd /tmp/harbor
|
cd /tmp/harbor
|
||||||
set -x
|
set -x
|
||||||
docker compose config
|
sudo -H docker compose config
|
||||||
)
|
)
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ EOF
|
|||||||
export NEXUS_VERSION
|
export NEXUS_VERSION
|
||||||
|
|
||||||
mkdir -p /tmp/nexus/data
|
mkdir -p /tmp/nexus/data
|
||||||
chown 200:200 /tmp/nexus/data
|
sudo chown 200:200 /tmp/nexus/data
|
||||||
cp "${SCRIPT_DIR}/docker-compose.yml" /tmp/nexus/docker-compose.yml
|
cp "${SCRIPT_DIR}/docker-compose.yml" /tmp/nexus/docker-compose.yml
|
||||||
|
|
||||||
echo "::group::Pulling Nexus $NEXUS_VERSION"
|
echo "::group::Pulling Nexus $NEXUS_VERSION"
|
||||||
@@ -82,7 +82,7 @@ echo "::endgroup::"
|
|||||||
echo "::group::Change user's password"
|
echo "::group::Change user's password"
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
curl --fail -v -k --max-time 10 -u "$REGISTRY_USER:$(cat /tmp/nexus/data/admin.password)" -X PUT -H 'Content-Type: text/plain' -d "$REGISTRY_PASSWORD" "http://$NEXUS_HOST:$NEXUS_PORT/service/rest/v1/security/users/$REGISTRY_USER/change-password"
|
curl --fail -v -k --max-time 10 -u "$REGISTRY_USER:$(sudo cat /tmp/nexus/data/admin.password)" -X PUT -H 'Content-Type: text/plain' -d "$REGISTRY_PASSWORD" "http://$NEXUS_HOST:$NEXUS_PORT/service/rest/v1/security/users/$REGISTRY_USER/change-password"
|
||||||
)
|
)
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
|||||||
@@ -93,9 +93,7 @@ jobs:
|
|||||||
if: inputs.type == 'local'
|
if: inputs.type == 'local'
|
||||||
env:
|
env:
|
||||||
ID: ${{ inputs.id }}
|
ID: ${{ inputs.id }}
|
||||||
run: |
|
run: bash "./.github/e2e/${ID}/install.sh"
|
||||||
sudo -E bash ./.github/e2e/${ID}/install.sh
|
|
||||||
sudo chown $(id -u):$(id -g) -R ~/.docker
|
|
||||||
-
|
-
|
||||||
name: Docker meta
|
name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
|
|||||||
@@ -17,13 +17,16 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write # for Codecov authentication
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
-
|
-
|
||||||
name: Test
|
name: Test
|
||||||
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
|
uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
|
||||||
with:
|
with:
|
||||||
source: .
|
source: .
|
||||||
targets: test
|
targets: test
|
||||||
@@ -32,4 +35,4 @@ jobs:
|
|||||||
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
||||||
with:
|
with:
|
||||||
files: ./coverage/clover.xml
|
files: ./coverage/clover.xml
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
use_oidc: true
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
token: ${{ steps.docker-read-app.outputs.token }}
|
token: ${{ steps.docker-read-app.outputs.token }}
|
||||||
-
|
-
|
||||||
name: Build
|
name: Build
|
||||||
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
|
uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
|
||||||
with:
|
with:
|
||||||
source: .
|
source: .
|
||||||
targets: build
|
targets: build
|
||||||
|
|||||||
@@ -41,6 +41,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Validate
|
name: Validate
|
||||||
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
|
uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
|
||||||
with:
|
with:
|
||||||
targets: ${{ matrix.target }}
|
targets: ${{ matrix.target }}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ In the examples below we are also using 3 other actions:
|
|||||||
|
|
||||||
### Git context
|
### Git context
|
||||||
|
|
||||||
By default, this action uses the [Git context](https://docs.docker.com/engine/reference/commandline/build/#git-repositories),
|
By default, this action uses the [Git context](https://docs.docker.com/build/concepts/context/#git-repositories),
|
||||||
so you don't need to use the [`actions/checkout`](https://github.com/actions/checkout/)
|
so you don't need to use the [`actions/checkout`](https://github.com/actions/checkout/)
|
||||||
action to check out the repository as this will be done directly by [BuildKit](https://github.com/moby/buildkit).
|
action to check out the repository as this will be done directly by [BuildKit](https://github.com/moby/buildkit).
|
||||||
|
|
||||||
|
|||||||
+165
-187
File diff suppressed because one or more lines are too long
+4
-4
File diff suppressed because one or more lines are too long
+2
-3
@@ -2726,12 +2726,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
|
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- handlebars@4.7.10
|
|
||||||
- handlebars@4.7.9
|
- handlebars@4.7.9
|
||||||
|
|
||||||
These packages each contain the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
Copyright (C) 2011-2019 by Yehuda Katz
|
Copyright (C) 2011-2019 by Yehuda Katz
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^3.0.1",
|
"@actions/core": "^3.0.1",
|
||||||
"@docker/actions-toolkit": "0.100.0",
|
"@docker/actions-toolkit": "0.100.0",
|
||||||
"handlebars": "^4.7.10"
|
"handlebars": "^4.7.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^9.39.3",
|
"@eslint/js": "^9.39.3",
|
||||||
|
|||||||
@@ -2854,7 +2854,7 @@ __metadata:
|
|||||||
eslint-plugin-prettier: "npm:^5.5.5"
|
eslint-plugin-prettier: "npm:^5.5.5"
|
||||||
generate-license-file: "npm:^4.1.1"
|
generate-license-file: "npm:^4.1.1"
|
||||||
globals: "npm:^17.3.0"
|
globals: "npm:^17.3.0"
|
||||||
handlebars: "npm:^4.7.10"
|
handlebars: "npm:^4.7.9"
|
||||||
prettier: "npm:^3.8.1"
|
prettier: "npm:^3.8.1"
|
||||||
typescript: "npm:^5.9.3"
|
typescript: "npm:^5.9.3"
|
||||||
vitest: "npm:^4.0.18"
|
vitest: "npm:^4.0.18"
|
||||||
@@ -3626,24 +3626,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"handlebars@npm:^4.7.10":
|
|
||||||
version: 4.7.10
|
|
||||||
resolution: "handlebars@npm:4.7.10"
|
|
||||||
dependencies:
|
|
||||||
minimist: "npm:^1.2.8"
|
|
||||||
neo-async: "npm:^2.6.2"
|
|
||||||
source-map: "npm:^0.6.1"
|
|
||||||
uglify-js: "npm:^3.1.4"
|
|
||||||
wordwrap: "npm:^1.0.0"
|
|
||||||
dependenciesMeta:
|
|
||||||
uglify-js:
|
|
||||||
optional: true
|
|
||||||
bin:
|
|
||||||
handlebars: bin/handlebars
|
|
||||||
checksum: 10/e7df9b9986594384de11ea27d2f9c694f90dca9ff768ac28851b4cf89f6268a3177ec50c9bb1601c8841f67bee25598b37bdcd53d1f7acd3744619f938ad1f53
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"handlebars@npm:^4.7.9":
|
"handlebars@npm:^4.7.9":
|
||||||
version: 4.7.9
|
version: 4.7.9
|
||||||
resolution: "handlebars@npm:4.7.9"
|
resolution: "handlebars@npm:4.7.9"
|
||||||
@@ -4388,7 +4370,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"minimist@npm:^1.2.6, minimist@npm:^1.2.8":
|
"minimist@npm:^1.2.6":
|
||||||
version: 1.2.8
|
version: 1.2.8
|
||||||
resolution: "minimist@npm:1.2.8"
|
resolution: "minimist@npm:1.2.8"
|
||||||
checksum: 10/908491b6cc15a6c440ba5b22780a0ba89b9810e1aea684e253e43c4e3b8d56ec1dcdd7ea96dde119c29df59c936cde16062159eae4225c691e19c70b432b6e6f
|
checksum: 10/908491b6cc15a6c440ba5b22780a0ba89b9810e1aea684e253e43c4e3b8d56ec1dcdd7ea96dde119c29df59c936cde16062159eae4225c691e19c70b432b6e6f
|
||||||
|
|||||||
Reference in New Issue
Block a user