Compare commits
11 Commits
separate_c
...
e08e3e977b
| Author | SHA1 | Date | |
|---|---|---|---|
| e08e3e977b | |||
| e5a635c741 | |||
| e04f237647 | |||
| de2b1bbbac | |||
| a136f6982a | |||
| d4c4cd3dfb | |||
| 683fa5c055 | |||
| 046a225e7e | |||
| e5b46d6385 | |||
| 69cad58d3f | |||
| 5195bbca59 |
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
- name: Verify Action
|
- name: Verify Action
|
||||||
run: actionlint -ignore 'unexpected key "description" for "workflow" section' -ignore 'nexpected key "inputs" for "workflow" section.' -ignore 'unexpected key "runs" for "workflow" section.' -ignore '"on" section is missing in workflow' -ignore '"jobs" section is missing in workflow' action.yml
|
run: actionlint -ignore 'unexpected key "description" for "workflow" section' -ignore 'nexpected key "inputs" for "workflow" section.' -ignore 'unexpected key "runs" for "workflow" section.' -ignore '"on" section is missing in workflow' -ignore '"jobs" section is missing in workflow' action.yml
|
||||||
- name: tag latest after success
|
- name: tag latest after success
|
||||||
|
|||||||
10
action.yml
10
action.yml
@@ -22,7 +22,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- run: echo "::group::Checkout repository"
|
- run: echo "::group::Checkout repository"
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
- run: echo "::endgroup::"
|
- run: echo "::endgroup::"
|
||||||
@@ -41,7 +41,7 @@ runs:
|
|||||||
- run: echo "::group::Extract Docker metadata"
|
- run: echo "::group::Extract Docker metadata"
|
||||||
- name: Extract Docker metadata
|
- name: Extract Docker metadata
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
|
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
|
||||||
with:
|
with:
|
||||||
flavor: |
|
flavor: |
|
||||||
latest=${{ github.ref_name == 'main' || github.ref_name == 'master' }}
|
latest=${{ github.ref_name == 'main' || github.ref_name == 'master' }}
|
||||||
@@ -63,11 +63,11 @@ runs:
|
|||||||
- run: echo "::endgroup::"
|
- run: echo "::endgroup::"
|
||||||
- run: echo "::group::Setup Buildx"
|
- run: echo "::group::Setup Buildx"
|
||||||
- name: Setup Docker buildx
|
- name: Setup Docker buildx
|
||||||
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
|
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
|
||||||
- run: echo "::endgroup::"
|
- run: echo "::endgroup::"
|
||||||
- run: echo "::group::Log into Registry ${{ inputs.registry }}"
|
- run: echo "::group::Log into Registry ${{ inputs.registry }}"
|
||||||
- name: Log into registry ${{ inputs.registry }}
|
- name: Log into registry ${{ inputs.registry }}
|
||||||
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
|
||||||
with:
|
with:
|
||||||
registry: ${{ inputs.registry }}
|
registry: ${{ inputs.registry }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
@@ -76,7 +76,7 @@ runs:
|
|||||||
- run: echo "::group::Build and Push docker image"
|
- run: echo "::group::Build and Push docker image"
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
id: build-and-push
|
id: build-and-push
|
||||||
uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6.17.0
|
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
Reference in New Issue
Block a user