mirror of
https://github.com/foomo/contentfulproxy.git
synced 2025-10-16 12:25:37 +00:00
devops: docker-hub release version
This commit is contained in:
parent
13d94e64ed
commit
a1279e10fd
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -50,13 +50,15 @@ jobs:
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Set tag on env
|
||||
- name: Set tag on output
|
||||
id: vars
|
||||
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF#refs/*/})
|
||||
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
|
||||
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
env:
|
||||
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
|
||||
with:
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
|
||||
Loading…
Reference in New Issue
Block a user