Update docker-image.yml

This commit is contained in:
Beeant 2022-06-05 18:26:42 +08:00 committed by GitHub
parent b075ddc247
commit 2726cacd65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,9 +22,9 @@ jobs:
- name: Build Docker image - name: Build Docker image
run: | run: |
echo Building version ${{ steps.version.outputs.release_version }}... echo Building version ${{ steps.version.outputs.release_version }}...
docker build . --file Dockerfile --tag alehoho/oo-ce-docker-license:${{ steps.version.outputs.release_version }} docker build . --file Dockerfile --tag xbeeant/oo-unlimit:${{ steps.version.outputs.release_version }}
- name: Push Docker image - name: Push Docker image
run: | run: |
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKER_TOKEN }}
docker push alehoho/oo-ce-docker-license:${{ steps.version.outputs.release_version }} docker push xbeeant/oo-unlimit:${{ steps.version.outputs.release_version }}