Migrate tags to variables instead of hard-coded

This commit is contained in:
Seth Simmons
2021-03-24 14:39:23 -04:00
parent fae3fd288b
commit 9a33178794
2 changed files with 8 additions and 8 deletions

View File

@@ -37,10 +37,10 @@ jobs:
with:
push: true
tags: |
ghcr.io/sethsimmons/simple-monerod:latest
ghcr.io/sethsimmons/simple-monerod:${{ steps.get_tag.outputs.tag }}
sethsimmons/simple-monerod:latest
sethsimmons/simple-monerod:${{ steps.get_tag.outputs.tag }}
ghcr.io/${{ github.repository_owner }}/simple-monerod:latest
ghcr.io/${{ github.repository_owner }}/simple-monerod:${{ steps.get_tag.outputs.tag }}
${{ secrets.DOCKER_USERNAME }}/simple-monerod:latest
${{ secrets.DOCKER_USERNAME }}/simple-monerod:${{ steps.get_tag.outputs.tag }}
labels: |
org.opencontainers.image.source=${{ github.event.repository.html_url }}
org.opencontainers.image.created=${{ steps.prep.outputs.created }}

View File

@@ -38,10 +38,10 @@ jobs:
with:
push: true
tags: |
ghcr.io/sethsimmons/simple-monerod:latest
ghcr.io/sethsimmons/simple-monerod:${{ steps.get_tag.outputs.tag }}
sethsimmons/simple-monerod:latest
sethsimmons/simple-monerod:${{ steps.get_tag.outputs.tag }}
ghcr.io/${{ github.repository_owner }}/simple-monerod:latest
ghcr.io/${{ github.repository_owner }}/simple-monerod:${{ steps.get_tag.outputs.tag }}
${{ secrets.DOCKER_USERNAME }}/simple-monerod:latest
${{ secrets.DOCKER_USERNAME }}/simple-monerod:${{ steps.get_tag.outputs.tag }}
labels: |
org.opencontainers.image.source=${{ github.event.repository.html_url }}
org.opencontainers.image.created=${{ steps.prep.outputs.created }}