diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f15fd17..5c30eba 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -76,5 +76,4 @@ jobs: docker tag hnshosting-bot:$tag_num git.woodburn.au/nathanwoodburn/hnshosting-bot:$tag_num docker push git.woodburn.au/nathanwoodburn/hnshosting-bot:$tag_num docker tag hnshosting-bot:$tag_num git.woodburn.au/nathanwoodburn/hnshosting-bot:$tag - docker push git.woodburn.au/nathanwoodburn/hnshosting-bot:$tag - \ No newline at end of file + docker push git.woodburn.au/nathanwoodburn/hnshosting-bot:$tag \ No newline at end of file diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..5dd42ae --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,16 @@ +name: Build Docker for Release +run-name: Build Docker Images + +on: + push: + tags: + - '*' + +jobs: + TEST: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Print tag + run: echo "tag=${GITHUB_REF#refs/tags/}" \ No newline at end of file