shlink/.github/workflows/docker-image-build.yml

29 lines
643 B
YAML
Raw Normal View History

name: Build docker image
on:
push:
branches:
- develop
tags:
- 'v*'
jobs:
build:
2022-08-01 18:13:34 +03:00
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
2020-11-10 21:06:50 +03:00
with:
version: latest
- name: Login to docker hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build the image
run: bash ./docker/build