diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1e5f412..dfa8b2f 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -17,12 +17,12 @@ jobs: - name: Build the Docker image run: docker build . --file Dockerfile --tag xbeeant/oo-unlimit:$(date +%s) - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2.0.0 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKER_TOKEN }} - 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: # relative path to the place where source code with Dockerfile is located context: ./