diff --git a/.github/workflows/chart.yaml b/.github/workflows/chart.yml similarity index 97% rename from .github/workflows/chart.yaml rename to .github/workflows/chart.yml index d439ea24..a4746ff4 100644 --- a/.github/workflows/chart.yaml +++ b/.github/workflows/chart.yml @@ -3,7 +3,7 @@ name: Chart Release on: push: branches: - - main + - k3k-chart jobs: release: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..b39949ef --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +name: K3K Release +on: + push: + tags: + - "v*" + +jobs: + release: + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Build + uses: addnab/docker-run-action@v3 + with: + registry: docker.io + image: rancher/dapper:v0.5.5 + options: -v /var/run/docker.sock:/var/run/docker.sock + run: | + dapper ci + - uses: SierraSoftworks/gh-releases@v1.0.7 + with: + token: ${{ secrets.TOKEN }} + overwrite: 'true' + files: | + dist/artifacts/k3k \ No newline at end of file diff --git a/scripts/version b/scripts/version index 19877dd0..46ba6c43 100755 --- a/scripts/version +++ b/scripts/version @@ -20,7 +20,7 @@ fi SUFFIX="-${ARCH}" TAG=${TAG:-${VERSION}${SUFFIX}} -REPO=${REPO:-galal-hussein} +REPO=${REPO:-husseingalal} if echo $TAG | grep -q dirty; then TAG=dev