Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
daef0ef378 | |||
|
db3b875005 | ||
|
82b78116e9 |
5
.github/workflows/docker-publish.yml
vendored
5
.github/workflows/docker-publish.yml
vendored
@ -1,8 +1,8 @@
|
||||
name: Docker CI
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
@ -20,7 +20,6 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
-
|
||||
name: Build and Push from Makefile
|
||||
run: |
|
||||
|
7
Makefile
7
Makefile
@ -1,13 +1,10 @@
|
||||
DOCKER_IMAGE=cubetiq/calpine-node
|
||||
DOCKER_IMAGE_NAME=${DOCKER_IMAGE}:14
|
||||
|
||||
DOCKER_IMAGE=cubetiq/calpine-node:14
|
||||
build:
|
||||
@echo 'Starting docker build'
|
||||
docker build . -t ${DOCKER_IMAGE}
|
||||
|
||||
@echo 'Starting docker push'
|
||||
docker tag ${DOCKER_IMAGE} ${DOCKER_IMAGE_NAME}
|
||||
docker tag ${DOCKER_IMAGE}
|
||||
docker push ${DOCKER_IMAGE}
|
||||
docker push ${DOCKER_IMAGE_NAME}
|
||||
|
||||
.PHONY:build
|
Loading…
Reference in New Issue
Block a user