2020-03-04 20:23:02 +00:00
|
|
|
name: build-docker-image
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [develop]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-docker-image:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
DOCKER_IMAGES: "zammad"
|
|
|
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
DOCKER_REPOSITORY: "zammad"
|
|
|
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
2020-03-05 10:55:11 +00:00
|
|
|
DOCKER_GITHUB_REPOSITORY: "zammad-docker"
|
2020-03-04 20:23:02 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@master
|
2020-03-05 10:43:50 +00:00
|
|
|
- name: Fetch all history for all tags and branches
|
|
|
|
run: git fetch --prune --unshallow
|
2020-03-04 20:23:02 +00:00
|
|
|
- name: Build docker image
|
|
|
|
run: .github/docker-image-build.sh
|