|
|
|
@ -37,15 +37,12 @@ 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: |
|
|
|
|
|
docker push ${{ github.repository }}:${{ github.event.inputs.tags }}
|
|
|
|
|
- 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 }}
|