|
|
|
@ -37,10 +37,8 @@ jobs:
|
|
|
|
|
- name: Build Docker image and tag
|
|
|
|
|
run: |
|
|
|
|
|
docker build \
|
|
|
|
|
--tag ${{ github.repository }}:latest \
|
|
|
|
|
--tag ${{ github.repository }}:${{ steps.identify_tag.outputs.tag }} \
|
|
|
|
|
--tag ghcr.io/${{ github.repository }}:latest \
|
|
|
|
|
--tag ghcr.io/${{ github.repository }}:${{ steps.identify_tag.outputs.tag }} \
|
|
|
|
|
--tag ${{ github.repository }}:${{ github.event.inputs.tags }} \
|
|
|
|
|
--tag ghcr.io/${{ github.repository }}:${{ github.event.inputs.tags }}
|
|
|
|
|
.
|
|
|
|
|
- name: Push Docker image to Docker Hub
|
|
|
|
|
run: |
|
|
|
|
@ -48,4 +46,3 @@ jobs:
|
|
|
|
|
- name: Push Docker image to GitHub Container Registry (GHCR)
|
|
|
|
|
run: |
|
|
|
|
|
docker push ghcr.io/${{ github.repository }}:${{ github.event.inputs.tags }}
|
|
|
|
|
docker push ghcr.io/${{ github.repository }}:${{ github.event.inputs.tags }}
|