mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-13 08:03:07 +08:00
Compare commits
2 Commits
ccd64b05f8
...
d626027cf5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d626027cf5 | ||
|
|
6e0a504521 |
4
.github/workflows/__check-dist.yml
vendored
4
.github/workflows/__check-dist.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
- uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@6809332ced7647b3d52300a47d65657283f3395e # 0.16.0
|
- uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@4d7c1ed87c18493fc4c2dbae4dbde46cf251c9a7 # 0.16.1
|
||||||
|
|
||||||
- name: Build dist/ Directory
|
- name: Build dist/ Directory
|
||||||
id: package
|
id: package
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
- if: ${{ failure() && steps.diff.outcome == 'failure' }}
|
- if: ${{ failure() && steps.diff.outcome == 'failure' }}
|
||||||
name: Upload Artifact
|
name: Upload Artifact
|
||||||
id: upload
|
id: upload
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
path: dist/
|
path: dist/
|
||||||
|
|||||||
2
.github/workflows/__check-nodejs.yml
vendored
2
.github/workflows/__check-nodejs.yml
vendored
@ -10,7 +10,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-nodejs:
|
test-nodejs:
|
||||||
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@6809332ced7647b3d52300a47d65657283f3395e # 0.16.0
|
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@4d7c1ed87c18493fc4c2dbae4dbde46cf251c9a7 # 0.16.1
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
security-events: write
|
security-events: write
|
||||||
|
|||||||
30
README.md
30
README.md
@ -95,21 +95,21 @@ Some extra options can be passed to the `docker compose down` command using the
|
|||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
| **Input** | **Description** | **Required** | **Default** |
|
| **Input** | **Description** | **Required** | **Default** |
|
||||||
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------- | ------------ | ------------------------- |
|
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------- | ------------ | --------------------------- |
|
||||||
| **`docker-flags`** | Additional options to pass to `docker` command. | **false** | - |
|
| **`docker-flags`** | Additional options to pass to `docker` command. | **false** | - |
|
||||||
| **`compose-file`** | Path to compose file(s). It can be a list of files. It can be absolute or relative to the current working directory (cwd). | **false** | `./docker-compose.yml` |
|
| **`compose-file`** | Path to compose file(s). It can be a list of files. It can be absolute or relative to the current working directory (cwd). | **false** | `./docker-compose.yml` |
|
||||||
| **`services`** | Services to perform `docker compose up`. | **false** | - |
|
| **`services`** | Services to perform `docker compose up`. | **false** | - |
|
||||||
| **`up-flags`** | Additional options to pass to `docker compose up` command. | **false** | - |
|
| **`up-flags`** | Additional options to pass to `docker compose up` command. | **false** | - |
|
||||||
| **`down-flags`** | Additional options to pass to `docker compose down` command. | **false** | - |
|
| **`down-flags`** | Additional options to pass to `docker compose down` command. | **false** | - |
|
||||||
| **`compose-flags`** | Additional options to pass to `docker compose` command. | **false** | - |
|
| **`compose-flags`** | Additional options to pass to `docker compose` command. | **false** | - |
|
||||||
| **`cwd`** | Current working directory | **false** | `${{ github.workspace }}` |
|
| **`cwd`** | Current working directory | **false** | `$\{\{ github.workspace }}` |
|
||||||
| **`compose-version`** | Compose version to use. | **false** | - |
|
| **`compose-version`** | Compose version to use. | **false** | - |
|
||||||
| | If null (default), it will use the current installed version. | | |
|
| | If null (default), it will use the current installed version. | | |
|
||||||
| | If "latest", it will install the latest version. | | |
|
| | If "latest", it will install the latest version. | | |
|
||||||
| **`services-log-level`** | The log level used for Docker Compose service logs. | **false** | `debug` |
|
| **`services-log-level`** | The log level used for Docker Compose service logs. | **false** | `debug` |
|
||||||
| | Can be one of "debug", "info". | | |
|
| | Can be one of "debug", "info". | | |
|
||||||
| **`github-token`** | The GitHub token used to create an authenticated client (to fetch the latest version of Docker Compose). | **false** | `${{ github.token }}` |
|
| **`github-token`** | The GitHub token used to create an authenticated client (to fetch the latest version of Docker Compose). | **false** | `$\{\{ github.token }}` |
|
||||||
|
|
||||||
<!-- inputs:end -->
|
<!-- inputs:end -->
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user