command to say
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m27s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m27s
This commit is contained in:
@@ -2,7 +2,7 @@ name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [ main, cmdsay ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -21,14 +21,14 @@ jobs:
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
# Build the image with the commit hash tag
|
||||
docker build -t git.cesium.one/kira/cockinator .
|
||||
docker build -t git.cesium.one/kira/cockinator:cmdsay .
|
||||
|
||||
- name: Push Docker Images
|
||||
env:
|
||||
BRANCH_NAME: ${{ github.ref_name }}
|
||||
SHORT_HASH: ${{ github.sha }}
|
||||
run: |
|
||||
docker push git.cesium.one/kira/cockinator
|
||||
docker push git.cesium.one/kira/cockinator:cmdsay
|
||||
|
||||
- name: Log out from registry
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user