Update docker-image.yml
This commit is contained in:
parent
db0bf2133f
commit
b784f2ddef
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
|
@ -17,12 +17,12 @@ jobs:
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: docker build . --file Dockerfile --tag xbeeant/oo-unlimit:$(date +%s)
|
run: docker build . --file Dockerfile --tag xbeeant/oo-unlimit:$(date +%s)
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2.0.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_TOKEN }}
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
- name: Build image and push to Docker Hub and GitHub Container Registry
|
- name: Build image and push to Docker Hub and GitHub Container Registry
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
# relative path to the place where source code with Dockerfile is located
|
# relative path to the place where source code with Dockerfile is located
|
||||||
context: ./
|
context: ./
|
||||||
|
|
Loading…
Reference in a new issue