bump version to 0.14.0 #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Tag | |
on: | |
push: | |
tags: | |
- 'v*' # Run workflow on version tags, e.g. v1.0.0. | |
jobs: | |
release-ott-dockerhub: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Log in to Dockerhub | |
run: | | |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "dyc3" --password-stdin | |
- name: Build image for ${{ github.ref_name }} | |
run: | | |
docker-compose -f docker/docker-compose.yml up -d --build | |
docker commit opentogethertube opentogethertube | |
docker-compose -f docker/docker-compose.yml down | |
docker tag opentogethertube dyc3/opentogethertube:${{ github.ref_name }} | |
- name: Push to Dockerhub | |
run: docker push dyc3/opentogethertube:${{ github.ref_name }} | |
# this job doesn't work because we have multiple plugins, and the release | |
# action only supports one plugin that in the root of the repo (not in a workspace) | |
# release-grafana: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: grafana/plugin-actions/build-plugin@release | |
# with: | |
# policy_token: ${{ secrets.GRAFANA_API_KEY }} |