Skip to content

first attempt at tag release action #1

first attempt at tag release action

first attempt at tag release action #1

Workflow file for this run

name: Release
on:
push:
# Pattern matched against refs/tags
tags:
- '**'
jobs:
retag-BE-image:
steps:

Check failure on line 12 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: 12, 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: |
echo attempting go pull dataquest/dspace:${{ github.sha }}
echo then will use ${{ github.ref_name }} as a tag
docker pull dataquest/dspace:${{ github.sha }}
docker tag dataquest/dspace:${{ github.sha }} dataquest/dspace:${{ github.ref_name }}
- name: push image
run: docker push dataquest/dspace:${{ github.ref_name }}