Skip to content

Show selected entry in filter resources/role filter buttons #225

Show selected entry in filter resources/role filter buttons

Show selected entry in filter resources/role filter buttons #225

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Get version tag
id: get_tag
run: |
if [ ${{ startsWith(github.ref, 'refs/tags/') }} = true ]; then
echo "tag=latest,${GITHUB_REF:10}" >>$GITHUB_OUTPUT
else
echo "tag=latest" >>$GITHUB_OUTPUT
fi
- name: Publish to Registry
uses: elgohr/[email protected]
with:
name: sourcepole/${{ github.event.repository.name }}
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
tags: "${{ steps.get_tag.outputs.tag }}"