Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e26eab87e5 | ||
| b59fe0d067 | |||
| 761b42f9f6 | |||
| 01a8b9fcdc | |||
| 37c3d5e861 | |||
| a08c956bb4 | |||
| bc7f63aba9 | |||
| cfa5158f96 |
@@ -121,18 +121,18 @@ jobs:
|
|||||||
digest: ${{ steps.build.outputs.digest }}
|
digest: ${{ steps.build.outputs.digest }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
|
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
if: ${{ inputs.artifact-name != '' }}
|
if: ${{ inputs.artifact-name != '' }}
|
||||||
uses: actions/download-artifact@v7
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.artifact-name }}
|
name: ${{ inputs.artifact-name }}
|
||||||
path: ${{ inputs.artifact-path }}
|
path: ${{ inputs.artifact-path }}
|
||||||
|
|
||||||
- name: Docker build
|
- name: Docker build
|
||||||
id: build
|
id: build
|
||||||
uses: ./build-and-push
|
uses: https://gitea.ldpt.fr/actions/docker/build-and-push@main
|
||||||
with:
|
with:
|
||||||
oci-registry: ${{ inputs.oci-registry }}
|
oci-registry: ${{ inputs.oci-registry }}
|
||||||
oci-registry-username: ${{ secrets.OCI_REGISTRY_USERNAME }}
|
oci-registry-username: ${{ secrets.OCI_REGISTRY_USERNAME }}
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
uses: https://gitea.ldpt.fr/actions/semantic-release/.github/workflows/semantic-release.yml@v1.5
|
uses: https://gitea.ldpt.fr/actions/semantic-release/.github/workflows/semantic-release.yml@v2.0.0
|
||||||
@@ -109,19 +109,19 @@ runs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "fully-qualified-image-name=$IMAGE_NAME" >> "$GITHUB_OUTPUT"
|
echo "fully-qualified-image-name=$IMAGE_NAME" >> "$GITHUB_OUTPUT"
|
||||||
- uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
|
- uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
|
||||||
with:
|
with:
|
||||||
registry: ${{ inputs.oci-registry }}
|
registry: ${{ inputs.oci-registry }}
|
||||||
username: ${{ inputs.oci-registry-username }}
|
username: ${{ inputs.oci-registry-username }}
|
||||||
password: ${{ inputs.oci-registry-password }}
|
password: ${{ inputs.oci-registry-password }}
|
||||||
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
|
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
||||||
id: setup-buildx
|
id: setup-buildx
|
||||||
with:
|
with:
|
||||||
version: v0.30.1
|
version: v0.30.1
|
||||||
driver-opts: |
|
driver-opts: |
|
||||||
image=moby/buildkit:v0.26.3
|
image=moby/buildkit:v0.26.3
|
||||||
- id: build
|
- id: build
|
||||||
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
|
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
|
||||||
with:
|
with:
|
||||||
context: ${{ inputs.context }}
|
context: ${{ inputs.context }}
|
||||||
file: ${{ inputs.dockerfile }}
|
file: ${{ inputs.dockerfile }}
|
||||||
|
|||||||
@@ -61,12 +61,12 @@ runs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "fully-qualified-image-name=$IMAGE_NAME" >> "$GITHUB_OUTPUT"
|
echo "fully-qualified-image-name=$IMAGE_NAME" >> "$GITHUB_OUTPUT"
|
||||||
- uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
|
- uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
|
||||||
with:
|
with:
|
||||||
registry: ${{ inputs.oci-registry }}
|
registry: ${{ inputs.oci-registry }}
|
||||||
username: ${{ inputs.oci-registry-username }}
|
username: ${{ inputs.oci-registry-username }}
|
||||||
password: ${{ inputs.oci-registry-password }}
|
password: ${{ inputs.oci-registry-password }}
|
||||||
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
|
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
||||||
id: setup-buildx
|
id: setup-buildx
|
||||||
with:
|
with:
|
||||||
version: v0.30.1
|
version: v0.30.1
|
||||||
|
|||||||
@@ -8,6 +8,5 @@ module.exports = {
|
|||||||
preset: "conventionalcommits"
|
preset: "conventionalcommits"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@semantic-release/release-notes-generator"
|
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user