Compare commits
42 Commits
testing
...
a05998cbde
| Author | SHA1 | Date | |
|---|---|---|---|
| a05998cbde | |||
| 59628fa470 | |||
| 40cfc9c179 | |||
| 404fe267eb | |||
| ec90ba108f | |||
| d03cc1c7cd | |||
| d21e168ffa | |||
| 6776d1e7d3 | |||
| b3dd42f268 | |||
| 40272d52b5 | |||
| c36168b419 | |||
| 4e5434d271 | |||
| dc44ebc81c | |||
| a9a1f1e2ff | |||
| 168e67acd5 | |||
| 2e9a2dde42 | |||
| d2900ce3e1 | |||
| 81f82391a2 | |||
| 4008e2e1b1 | |||
| 24c57d203a | |||
| cdf16e34b4 | |||
| da445f311a | |||
| 48e9c8845a | |||
| 2b39d5f8ac | |||
| eca7b4650f | |||
| 6c6bf4e9f4 | |||
| b99d9e797d | |||
| 7ed228916e | |||
| 7744cd0d35 | |||
| 9d01fe7662 | |||
| 0741c04ff6 | |||
| 168b66e2aa | |||
| bd9738662c | |||
| 0a0a911382 | |||
| d00d17e69b | |||
| 26499dca4f | |||
| e169a25f34 | |||
| e60c192d19 | |||
| ba772d1f9d | |||
| 1088e4e28d | |||
| 274045e6d9 | |||
| cfbfb07a1f |
@@ -13,11 +13,11 @@ jobs:
|
||||
build:
|
||||
runs-on: slim
|
||||
permissions:
|
||||
contents: read
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- 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
|
||||
- name: tag latest after success
|
||||
|
||||
+6
-6
@@ -29,7 +29,7 @@ runs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
if: ${{ inputs.checkout == 'true' }}
|
||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Bump version and push tag
|
||||
@@ -45,7 +45,7 @@ runs:
|
||||
PRERELEASE_SUFFIX: ${{ github.ref_name }}
|
||||
- name: Extract Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
|
||||
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
|
||||
with:
|
||||
flavor: |
|
||||
latest=${{ github.ref_name == 'main' || github.ref_name == 'master' }}
|
||||
@@ -57,22 +57,22 @@ runs:
|
||||
# disabled if major zero
|
||||
type=semver,pattern={{major}},value=${{steps.tag.outputs.tag}},enable=${{ !startsWith(steps.tag.outputs.tag, 'v0.') }}
|
||||
images: ${{ inputs.registry }}/${{ inputs.image_name }}
|
||||
- uses: int128/docker-build-cache-config-action@fb186e80c08f14a2e56ed9105d4594562bff013f # v1.40.0
|
||||
- uses: int128/docker-build-cache-config-action@600f417a89b22227409391339c1c425ba46b5e07 # v1.56.0
|
||||
id: cache
|
||||
with:
|
||||
image: ${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache
|
||||
extra-cache-to: image-manifest=true
|
||||
- name: Setup Docker buildx
|
||||
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
|
||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
|
||||
- name: Log into registry ${{ inputs.registry }}
|
||||
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
|
||||
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
|
||||
with:
|
||||
registry: ${{ inputs.registry }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ inputs.token }}
|
||||
- name: Build and push Docker image
|
||||
id: build-and-push
|
||||
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
|
||||
Reference in New Issue
Block a user