mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2024-12-18 00:13:23 +00:00
This commit is contained in:
parent
d69c1696c5
commit
8985021065
6
.github/workflows/dockerimage.yml
vendored
6
.github/workflows/dockerimage.yml
vendored
@ -17,6 +17,10 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
-
|
||||||
|
name: Set sha_short
|
||||||
|
id: vars
|
||||||
|
run: echo ::set-output name=sha_short::$(git rev-parse --short HEAD)
|
||||||
-
|
-
|
||||||
name: Build Docker Images Only
|
name: Build Docker Images Only
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
@ -39,4 +43,4 @@ jobs:
|
|||||||
imageName: ${{ env.DOCKER_IMAGE_NAME }}
|
imageName: ${{ env.DOCKER_IMAGE_NAME }}
|
||||||
dockerHubUser: ${{ secrets.DOCKER_LOGIN_USERNAME }}
|
dockerHubUser: ${{ secrets.DOCKER_LOGIN_USERNAME }}
|
||||||
dockerHubPassword: ${{ secrets.DOCKER_LOGIN_PASSWORD }}
|
dockerHubPassword: ${{ secrets.DOCKER_LOGIN_PASSWORD }}
|
||||||
buildArg: COMMIT=${GITHUB_SHA::8}
|
buildArg: COMMIT=${{ steps.vars.outputs.sha_short }}
|
Loading…
Reference in New Issue
Block a user