Add release ci (#443)

This commit is contained in:
Zoe Roux 2024-04-28 02:19:54 +02:00 committed by GitHub
parent 53d483f34d
commit cbe4fbf082
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

26
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Release
on:
push:
tags:
- v*
jobs:
update:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set correct versions
run: sed "s/edge/${{ github.ref_name }}" -i docker-compose.yml
- uses: actions/upload-artifact@v4
with:
name: docker-compose.yml
path: ./docker-compose.yml
- name: Upload release artifacts
uses: softprops/action-gh-release@v2
with:
files: ./docker-compose.yml