Compare commits
12 Commits
17618483c0
...
c680c10d2d
Author | SHA1 | Date | |
---|---|---|---|
c680c10d2d | |||
70e3427b38 | |||
d7884e9149 | |||
f256e6bd1a | |||
9f9f03b521 | |||
a4c1ae8222 | |||
4db2dd8ea5 | |||
f68b5e29d1 | |||
26e51e23b8 | |||
523648ab73 | |||
abb2b3202c | |||
9375ae10c3 |
@ -140,11 +140,43 @@ jobs:
|
||||
${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}
|
||||
tags: type=semver,pattern=v{{version}},value=${{ needs.create_release.outputs.release_name }}
|
||||
|
||||
- name: Build and push images
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
annotations: ${{ steps.meta.outputs.annotations }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
- name: Print metadata
|
||||
run: |
|
||||
printf "Annotations:\n${{ steps.meta.outputs.annotations }}"
|
||||
echo ""
|
||||
printf "Labels:\n${{ steps.meta.outputs.labels }}"
|
||||
echo ""
|
||||
printf "Tags:\n${{ steps.meta.outputs.tags }}"
|
||||
|
||||
# - name: Build images
|
||||
# uses: docker/build-push-action@v5
|
||||
# with:
|
||||
# context: .
|
||||
# push: false
|
||||
# annotations: ${{ steps.meta.outputs.annotations }}
|
||||
# labels: ${{ steps.meta.outputs.labels }}
|
||||
# tags: ${{ steps.meta.outputs.tags }}
|
||||
|
||||
- name: Build images
|
||||
run: |
|
||||
bldcmd="docker buildx build ."
|
||||
strtags="${{ steps.meta.outputs.tags }}"
|
||||
strlabels="${{ steps.meta.outputs.labels }}"
|
||||
strannotations="${{ steps.meta.outputs.annotations }}"
|
||||
readarray -t tags <<<"$strtags"
|
||||
readarray -t labels <<<"$strlabels"
|
||||
readarray -t annotations <<<"$strannotations"
|
||||
for element in "${tags[@]}"; do bldcmd="$bldcmd --tag \"$element\""; done
|
||||
for element in "${labels[@]}"; do bldcmd="$bldcmd --label \"$element\""; done
|
||||
for element in "${annotations[@]}"; do bldcmd="$bldcmd --annotation \"$element\""; done
|
||||
bldcmd="$bldcmd ${{ gitea.workspace }}"
|
||||
echo "$bldcmd"
|
||||
echo ""
|
||||
sh -c "$bldcmd"
|
||||
|
||||
- name: Push images
|
||||
run: |
|
||||
strtags="${{ steps.meta.outputs.tags }}"
|
||||
readarray -t lines <<<"$strtags"
|
||||
for element in "${lines[@]}"; do docker push "$element"; done
|
||||
unset strtags lines
|
||||
|
8
poetry.lock
generated
8
poetry.lock
generated
@ -636,17 +636,17 @@ tests = ["coverage[toml] (==5.0.4)", "pytest (>=6.0.0,<7.0.0)"]
|
||||
|
||||
[[package]]
|
||||
name = "pylint"
|
||||
version = "3.3.2"
|
||||
version = "3.3.3"
|
||||
description = "python code static checker"
|
||||
optional = false
|
||||
python-versions = ">=3.9.0"
|
||||
files = [
|
||||
{file = "pylint-3.3.2-py3-none-any.whl", hash = "sha256:77f068c287d49b8683cd7c6e624243c74f92890f767f106ffa1ddf3c0a54cb7a"},
|
||||
{file = "pylint-3.3.2.tar.gz", hash = "sha256:9ec054ec992cd05ad30a6df1676229739a73f8feeabf3912c995d17601052b01"},
|
||||
{file = "pylint-3.3.3-py3-none-any.whl", hash = "sha256:26e271a2bc8bce0fc23833805a9076dd9b4d5194e2a02164942cb3cdc37b4183"},
|
||||
{file = "pylint-3.3.3.tar.gz", hash = "sha256:07c607523b17e6d16e2ae0d7ef59602e332caa762af64203c24b41c27139f36a"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
astroid = ">=3.3.5,<=3.4.0-dev0"
|
||||
astroid = ">=3.3.8,<=3.4.0-dev0"
|
||||
colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""}
|
||||
dill = [
|
||||
{version = ">=0.3.7", markers = "python_version >= \"3.12\""},
|
||||
|
Loading…
x
Reference in New Issue
Block a user