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
|
uses: actions/checkout@v3
|
||||||
- name: Docker login
|
- name: Docker login
|
||||||
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} https://${REGISTRY}
|
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} https://${REGISTRY}
|
||||||
- name: Build and push container
|
- name: Build and push
|
||||||
run: docker build . -t ${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }} -t ${REGISTRY}/${IMAGE_NAMESPACE}:latest --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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -13,7 +13,10 @@ jobs:
|
||||||
run: apk add --no-cache git nodejs
|
run: apk add --no-cache git nodejs
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Build container
|
- name: Build and push
|
||||||
run: docker build . -t toolkit-test:${{ github.ref_name }}
|
uses: actions/docker-build-push@v4
|
||||||
|
with:
|
||||||
|
push: false
|
||||||
|
tags: toolkit-test:${{ github.ref_name }}
|
||||||
- name: Inspect image
|
- name: Inspect image
|
||||||
run: docker image inspect toolkit-test:${{ github.ref_name }}
|
run: docker image inspect toolkit-test:${{ github.ref_name }}
|
||||||
|
|
Loading…
Reference in New Issue