fix up test workflow copy/paste error

pull/94/head
binhex 4 years ago
parent 3d1529c169
commit 6931da3475

@ -37,15 +37,12 @@ jobs:
- name: Build Docker image and tag - name: Build Docker image and tag
run: | run: |
docker build \ docker build \
--tag ${{ github.repository }}:latest \ --tag ${{ github.repository }}:${{ github.event.inputs.tags }} \
--tag ${{ github.repository }}:${{ steps.identify_tag.outputs.tag }} \ --tag ghcr.io/${{ github.repository }}:${{ github.event.inputs.tags }}
--tag ghcr.io/${{ github.repository }}:latest \
--tag ghcr.io/${{ github.repository }}:${{ steps.identify_tag.outputs.tag }} \
. .
- name: Push Docker image to Docker Hub - name: Push Docker image to Docker Hub
run: | run: |
docker push ${{ github.repository }}:${{ github.event.inputs.tags }} docker push ${{ github.repository }}:${{ github.event.inputs.tags }}
- name: Push Docker image to GitHub Container Registry (GHCR) - name: Push Docker image to GitHub Container Registry (GHCR)
run: | run: |
docker push ghcr.io/${{ github.repository }}:${{ github.event.inputs.tags }}
docker push ghcr.io/${{ github.repository }}:${{ github.event.inputs.tags }} docker push ghcr.io/${{ github.repository }}:${{ github.event.inputs.tags }}
Loading…
Cancel
Save