Github actions config for docker

pull/221/head
Aliaksandr Shulyak 4 years ago
parent e3d1d36857
commit 52f7ff7a1b
No known key found for this signature in database
GPG Key ID: 0BFCA412B03A4A76

@ -0,0 +1,26 @@
on:
release:
types: [created]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: planka
tags: ${{ github.event.release.tag_name }} latest
containerfiles: |
./Dockerfile
- name: Push to registry
id: push-to-registry
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }} latest
registry: ghcr.io/plankanban
username: planka
password: ${{ secrets.GITHUB_TOKEN }}

@ -2,7 +2,7 @@ version: '3'
services:
planka:
image: meltyshev/planka:latest
image: ghcr.io/plankanban/planka:latest
command: >
bash -c
"for i in `seq 1 30`; do

Loading…
Cancel
Save