aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-06-26 00:20:27 +0300
committerValentin Popov <info@valentineus.link>2020-06-26 00:20:27 +0300
commit069d93bde893594016da74d02a055530dec70319 (patch)
treef42e51d28c5837b1e7b5c4ddb610f0809113ab06 /.github/workflows
parentc388b41bf68e2610f9d7c3011721ece6ab1f3c14 (diff)
downloaddocker-meteor-069d93bde893594016da74d02a055530dec70319.tar.xz
docker-meteor-069d93bde893594016da74d02a055530dec70319.zip
Added checkout step
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docker-publish.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index de58ef6..4b07f26 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -10,6 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
+ - uses: actions/checkout@v2
+ with:
+ ref: ${{ github.event.pull_request.head.ref }}
+ fetch-depth: 0
+
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
@@ -29,12 +34,17 @@ jobs:
- "1.6"
steps:
+ - uses: actions/checkout@v2
+ with:
+ ref: ${{ github.event.pull_request.head.ref }}
+ fetch-depth: 0
+
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- tag: ${{ matrix.version }}
repository: valentineus/meteor
+ tags: ${{ matrix.version }}
path: release
buildargs: RELEASE=${{ matrix.version }}
tag_with_ref: true