Files
netbird-kubernetes-operator/.github/workflows/release.yaml
T
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a3546e4804 Bump docker/setup-docker-action from 5.1.0 to 5.2.0 in the github-actions group (#281)
Bumps the github-actions group with 1 update:
[docker/setup-docker-action](https://github.com/docker/setup-docker-action).

Updates `docker/setup-docker-action` from 5.1.0 to 5.2.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/docker/setup-docker-action/releases">docker/setup-docker-action's
releases</a>.</em></p>
<blockquote>
<h2>v5.2.0</h2>
<ul>
<li>Bump <code>@​actions/core</code> from 3.0.0 to 3.0.1 in <a
href="https://redirect.github.com/docker/setup-docker-action/pull/255">docker/setup-docker-action#255</a></li>
<li>Bump <code>@​docker/actions-toolkit</code> from 0.89.0 to 0.91.0 in
<a
href="https://redirect.github.com/docker/setup-docker-action/pull/254">docker/setup-docker-action#254</a></li>
<li>Bump <code>@​tootallnate/once</code> from 2.0.0 to 2.0.1 in <a
href="https://redirect.github.com/docker/setup-docker-action/pull/266">docker/setup-docker-action#266</a></li>
<li>Bump fast-xml-builder from 1.1.5 to 1.2.0 in <a
href="https://redirect.github.com/docker/setup-docker-action/pull/258">docker/setup-docker-action#258</a></li>
<li>Bump ip-address from 10.0.1 to 10.2.0 in <a
href="https://redirect.github.com/docker/setup-docker-action/pull/257">docker/setup-docker-action#257</a></li>
<li>Bump postcss from 8.5.6 to 8.5.15 in <a
href="https://redirect.github.com/docker/setup-docker-action/pull/265">docker/setup-docker-action#265</a></li>
<li>Bump tmp from 0.2.5 to 0.2.6 in <a
href="https://redirect.github.com/docker/setup-docker-action/pull/269">docker/setup-docker-action#269</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/setup-docker-action/compare/v5.1.0...v5.2.0">https://github.com/docker/setup-docker-action/compare/v5.1.0...v5.2.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/docker/setup-docker-action/commit/0234bb73ccb40f0c430b795634f9247e2b5c2d23"><code>0234bb7</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/setup-docker-action/issues/270">#270</a>
from docker/dependabot/github_actions/docker/setup-bu...</li>
<li><a
href="https://github.com/docker/setup-docker-action/commit/44285f8ec5b715fa76e2ad352b31b775ff9ff3df"><code>44285f8</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/setup-docker-action/issues/254">#254</a>
from docker/dependabot/npm_and_yarn/docker/actions-to...</li>
<li><a
href="https://github.com/docker/setup-docker-action/commit/78c7044ff0babff1a1fd1bad2bfee145b1ee9257"><code>78c7044</code></a>
chore: update generated content</li>
<li><a
href="https://github.com/docker/setup-docker-action/commit/369dbb98cc3bfec7d1631a5843dcb1ba76c17c2b"><code>369dbb9</code></a>
build(deps): bump <code>@​docker/actions-toolkit</code> from 0.89.0 to
0.91.0</li>
<li><a
href="https://github.com/docker/setup-docker-action/commit/c236cd35803739088e873f2fd7477f0fde47ff0a"><code>c236cd3</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/setup-docker-action/issues/255">#255</a>
from docker/dependabot/npm_and_yarn/actions/core-3.0.1</li>
<li><a
href="https://github.com/docker/setup-docker-action/commit/87e121bf107c4f9998705e9bf0ae8f2afb0b8a47"><code>87e121b</code></a>
build(deps): bump docker/setup-buildx-action from 4.0.0 to 4.1.0</li>
<li><a
href="https://github.com/docker/setup-docker-action/commit/2224adcf460227de8533dd41c93d2caf0ed50e74"><code>2224adc</code></a>
chore: update generated content</li>
<li><a
href="https://github.com/docker/setup-docker-action/commit/1c3d74e8a289b543ecf7de553858afa247e44538"><code>1c3d74e</code></a>
build(deps): bump <code>@​actions/core</code> from 3.0.0 to 3.0.1</li>
<li><a
href="https://github.com/docker/setup-docker-action/commit/e9b16567bfc00b50fee4cccbcd687418fa11d08d"><code>e9b1656</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/setup-docker-action/issues/269">#269</a>
from docker/dependabot/npm_and_yarn/tmp-0.2.6</li>
<li><a
href="https://github.com/docker/setup-docker-action/commit/17fa16660f3ab4811a2271487c7829e12def0ac9"><code>17fa166</code></a>
chore: update generated content</li>
<li>Additional commits viewable in <a
href="https://github.com/docker/setup-docker-action/compare/b2189fbf2a6592b51fee7cdd93ee2bfaeba733db...0234bb73ccb40f0c430b795634f9247e2b5c2d23">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/setup-docker-action&package-manager=github_actions&previous-version=5.1.0&new-version=5.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-01 09:49:44 +02:00

61 lines
2.1 KiB
YAML

name: release
on:
push:
tags:
- "v*"
permissions:
contents: read
packages: write
id-token: write
defaults:
run:
shell: bash
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c #v6.4.0
with:
go-version-file: go.mod
- name: Set up Docker
uses: docker/setup-docker-action@0234bb73ccb40f0c430b795634f9247e2b5c2d23 #v5.2.0
with:
daemon-config: |
{
"features": {
"containerd-snapshotter": true
}
}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 #v4.1.0
with:
driver: docker
- name: Login to GitHub Container Registry
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee #v4.2.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare versions
id: prep
run: |
IMG_TAG="${GITHUB_REF_NAME}"
if [[ "${{ github.ref_type }}" == "tag" ]]; then
HELM_VERSION=${GITHUB_REF_NAME#v}
else
HELM_VERSION="0.0.0-${GITHUB_REF_NAME}"
fi
echo "IMG_TAG=${IMG_TAG}" >> $GITHUB_OUTPUT
echo "HELM_VERSION=${HELM_VERSION}" >> $GITHUB_OUTPUT
- name: Build and push image
run: |
IMG_REF=$(make build-image-multiarch IMG_REPOSITORY=${{ github.repository_owner }}/netbird-operator IMG_TAG=${{ steps.prep.outputs.IMG_TAG }}) || exit 1
docker push ${IMG_REF}
- name: Build and push Helm chart
run: |
helm package --app-version ${{ steps.prep.outputs.IMG_TAG }} --version ${{ steps.prep.outputs.HELM_VERSION }} charts/netbird-operator
helm push netbird-operator-${{ steps.prep.outputs.HELM_VERSION }}.tgz oci://ghcr.io/${{ github.repository_owner }}/helm-charts