Updated workflows
Test / test_build (push) Successful in 8s
Details
Test / test_build (push) Successful in 8s
Details
parent
01af9c0d9d
commit
3bfea85c90
|
@ -18,5 +18,12 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- name: Docker login
|
||||
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} https://${REGISTRY}
|
||||
- name: Build and push container
|
||||
run: docker build . -t ${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }} -t ${REGISTRY}/${IMAGE_NAMESPACE}:latest --push
|
||||
- name: Build and push
|
||||
uses: actions/docker-build-push@v4
|
||||
with:
|
||||
push: false
|
||||
tags:
|
||||
- ${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }}
|
||||
- ${REGISTRY}/${IMAGE_NAMESPACE}:latest
|
||||
- name: Inspect image
|
||||
run: ${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name: Release
|
||||
name: Test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
@ -13,7 +13,10 @@ jobs:
|
|||
run: apk add --no-cache git nodejs
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Build container
|
||||
run: docker build . -t toolkit-test:${{ github.ref_name }}
|
||||
- name: Build and push
|
||||
uses: actions/docker-build-push@v4
|
||||
with:
|
||||
push: false
|
||||
tags: toolkit-test:${{ github.ref_name }}
|
||||
- name: Inspect image
|
||||
run: docker image inspect toolkit-test:${{ github.ref_name }}
|
||||
|
|
Loading…
Reference in New Issue