1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-06 11:25:16 +02:00

fix docker image Github Action

This commit is contained in:
François Darveau 2021-06-26 18:11:30 -04:00
parent 671fc028dd
commit a05a046328

View file

@ -1,9 +1,9 @@
name: Docker Image CI name: Docker Image CI
on: on:
push: push:
branches: [ docker ] branches: [ master ]
pull_request: pull_request:
branches: [ docker ] branches: [ master ]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -18,7 +18,7 @@ jobs:
- name: Prepare - name: Prepare
id: prep id: prep
run: | run: |
DOCKER_IMAGE=ghcr.io/fdarveau/flame DOCKER_IMAGE=ghcr.io/${{ github.repository }}
VERSION=latest VERSION=latest
if [[ $GITHUB_REF == refs/tags/* ]]; then if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/v} VERSION=${GITHUB_REF#refs/tags/v}