Skip to content

Release on Docker Hub upon pushing a tag #4

Release on Docker Hub upon pushing a tag

Release on Docker Hub upon pushing a tag #4

Workflow file for this run

name: Release on Docker Hub upon pushing a tag
on:
push:
tags:
- '*'
jobs:
preparations:
name: Preparations
uses: ./.github/workflows/push.yml

Check failure on line 11 in .github/workflows/tag.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tag.yml

Invalid workflow file

error parsing called workflow ".github/workflows/tag.yml" -> "./.github/workflows/push.yml" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
docker-publish:
name: Publish Docker image as tag
runs-on: ubuntu-latest
steps:
- name: Tag image
run: docker tag witnet/price-feeds-poller:latest witnet/price-feeds-poller:${{github.ref_name}}
- name: Log into Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push image to Docker Hub
run: docker push witnet/price-feeds-poller:${{github.ref_name}}