File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,11 @@ jobs:
1919 with :
2020 args : github-prepare
2121 - name : Docker Login
22- run : docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
22+ run : docker login --username " $DOCKER_USERNAME" --password " $DOCKER_PASSWORD"
2323 env :
2424 DOCKER_PASSWORD : ${{ secrets.DOCKER_PASSWORD }}
2525 DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
26- - name : Docker Build Container
27- run : docker build -t imagebuild .
28- - name : Docker Tag Images
29- run : docker tag imagebuild quorumcontrol/tupelo
30- - name : Docker Push Ref Image
31- run : docker push quorumcontrol/tupelo:${IMAGE_REF}
26+ - name : Build & Push
27+ run : scripts/ci-dockerbuildpush.sh
28+ env :
29+ GITHUB_REF : ${{ github.ref }}
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -eo pipefail
4+
5+ IMAGE_REF=$( echo " $GITHUB_REF " | rev | cut -d / -f 1 | rev)
6+
7+ docker build -t quorumcontrol/tupelo-go-sdk:${IMAGE_REF} .
8+ docker push quorumcontrol/tupelo-go-sdk:${IMAGE_REF}
You can’t perform that action at this time.
0 commit comments