diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2024-01-29 16:32:46 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2024-01-29 16:32:46 +0300 |
commit | 469197db320cfb70447573095f76e5851361594e (patch) | |
tree | a18340b19be27bd488e0430e2df685e1875cbcdd | |
parent | 87f854bb151d314d21237a67d92d31e2ddac152a (diff) |
Add release action
-rw-r--r-- | .gitea/workflows/release.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..99cc8a8 --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,29 @@ +name: Release + +on: + push: + branches: + - "master" + workflow_dispatch: + +jobs: + release-image: + runs-on: ubuntu-latest + container: + image: catthehacker/ubuntu:act-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Login to Gitea Hub + uses: docker/login-action@v3 + with: + registry: gitea.cebotari.ru + username: chebser + password: ${{ secrets.DOCKER_TOKEN }} + - name: Build app + uses: docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile + push: true + tags: gitea.cebotari.ru/chebser/mydarlig-dotnet:latest
\ No newline at end of file |