fix
This commit is contained in:
parent
7cd3fdb6f6
commit
2f0d8cb044
2 changed files with 20 additions and 20 deletions
19
.github/workflows/dependency-update.yml
vendored
19
.github/workflows/dependency-update.yml
vendored
|
|
@ -22,3 +22,22 @@ jobs:
|
|||
env:
|
||||
PR_URL: ${{github.event.pull_request.html_url}}
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.merged == true
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
-
|
||||
name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Build and push
|
||||
id: build
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: andrewmhub/insurgency-sandstorm:latest
|
||||
19
.github/workflows/docker-image.yml
vendored
19
.github/workflows/docker-image.yml
vendored
|
|
@ -65,22 +65,3 @@ jobs:
|
|||
- name: push code to master
|
||||
if: steps.status.outcome == 'success'
|
||||
run: git push origin HEAD:master
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.merged == true
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
-
|
||||
name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Build and push
|
||||
id: build
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: andrewmhub/insurgency-sandstorm:latest
|
||||
Loading…
Reference in a new issue