Added checkout step
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
c388b41bf6
commit
069d93bde8
12
.github/workflows/docker-publish.yml
vendored
12
.github/workflows/docker-publish.yml
vendored
@ -10,6 +10,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: docker/build-push-action@v1
|
- uses: docker/build-push-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
@ -29,12 +34,17 @@ jobs:
|
|||||||
- "1.6"
|
- "1.6"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: docker/build-push-action@v1
|
- uses: docker/build-push-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
tag: ${{ matrix.version }}
|
|
||||||
repository: valentineus/meteor
|
repository: valentineus/meteor
|
||||||
|
tags: ${{ matrix.version }}
|
||||||
path: release
|
path: release
|
||||||
buildargs: RELEASE=${{ matrix.version }}
|
buildargs: RELEASE=${{ matrix.version }}
|
||||||
tag_with_ref: true
|
tag_with_ref: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user