mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Moved docker image build to github actions
This commit is contained in:
22
.github/workflows/docker-image-build.yml
vendored
Normal file
22
.github/workflows/docker-image-build.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Build docker image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
tags:
|
||||
- *
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Install buildx
|
||||
id: buildx
|
||||
uses: crazy-max/ghaction-docker-buildx@v1
|
||||
with:
|
||||
version: latest
|
||||
- name: Build the image
|
||||
run: bash ./docker/build
|
||||
Reference in New Issue
Block a user