Update docker-image.yml

This commit is contained in:
Andrew Marchukov 2021-04-23 18:01:00 +03:00 committed by GitHub
parent 007f929422
commit 26b1255c3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,3 +42,18 @@ jobs:
echo VERSION=$VERSION
docker tag image $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: andrewmhub/insurgency-sandstorm:latest