Skip to content

Merge branch 'develop' #9

Merge branch 'develop'

Merge branch 'develop' #9

Workflow file for this run

name: Docker Image CI
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Build and push the Docker image
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.gitlab.com
repository: ${{ secrets.DOCKER_REPO }}
tags: ${{ steps.get_version.outputs.VERSION }}
always_pull: true