Skip to content

Improve version info, add release-tag action #8

Improve version info, add release-tag action

Improve version info, add release-tag action #8

Workflow file for this run

name: Release
on:
push:
tags:
- '**'
env:
IMAGE_BASE_NAME: dataquest/dspace
jobs:
retag-BE-image:
steps:

Check failure on line 13 in .github/workflows/tag-release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/tag-release.yml (Line: 13, Col: 5): Required property is missing: runs-on
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: retag image
run: |
docker pull ${{ env.IMAGE_BASE_NAME }}:${{ github.sha }}
docker tag ${{ env.IMAGE_BASE_NAME }}:${{ github.sha }} ${{ env.IMAGE_BASE_NAME }}:${{ github.ref_name }}
- name: push image
run: docker push ${{ env.IMAGE_BASE_NAME }}:${{ github.ref_name }}