Update docker-image.yml
This commit is contained in:
parent
007f929422
commit
26b1255c3c
1 changed files with 15 additions and 0 deletions
15
.github/workflows/docker-image.yml
vendored
15
.github/workflows/docker-image.yml
vendored
|
|
@ -42,3 +42,18 @@ jobs:
|
||||||
echo VERSION=$VERSION
|
echo VERSION=$VERSION
|
||||||
docker tag image $IMAGE_ID:$VERSION
|
docker tag image $IMAGE_ID:$VERSION
|
||||||
docker push $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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue