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
run: |
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
run: |
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
docker push alehoho/oo-ce-docker-license:${{ steps.version.outputs.release_version }}
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKER_TOKEN }}
docker push xbeeant/oo-unlimit:${{ steps.version.outputs.release_version }}