Update .forgejo/workflows/test-build.yaml
Release / test_build (push) Failing after 2s
Details
Release / test_build (push) Failing after 2s
Details
parent
8374ba0809
commit
795c7fa09c
|
@ -9,36 +9,36 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: docker:latest
|
container: docker:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies # not present in `docker` container
|
# - name: Install dependencies # not present in `docker` container
|
||||||
run: apk add --no-cache git nodejs
|
# run: apk add --no-cache git nodejs
|
||||||
- name: Check out repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Build container
|
|
||||||
run: |
|
|
||||||
export DOCKER_HOST=tcp://docker-in-docker:2375
|
|
||||||
docker build . -t toolkit-test:${{ github.ref_name }}
|
|
||||||
- name: Inspect image
|
|
||||||
run: docker image inspect toolkit-test:${{ github.ref_name }}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# # - name: Install dependencies # not present in `docker` container
|
|
||||||
# # run: apk add --no-cache git nodejs
|
|
||||||
# - name: Check out repository
|
# - name: Check out repository
|
||||||
# uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
# - name: Set up Docker Buildx
|
# - name: Build container
|
||||||
# uses: actions/docker-setup-buildx@v2
|
# run: |
|
||||||
# - name: Build and push
|
# export DOCKER_HOST=tcp://docker-in-docker:2375
|
||||||
# uses: actions/docker-build-push@v4
|
# docker build . -t toolkit-test:${{ github.ref_name }}
|
||||||
# with:
|
|
||||||
# push: true
|
|
||||||
# tags: toolkit-test:${{ github.ref_name }}
|
|
||||||
# # - name: Build container
|
|
||||||
# # run: docker build . -t 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 }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# - name: Install dependencies # not present in `docker` container
|
||||||
|
# run: apk add --no-cache git nodejs
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Set Docker host
|
||||||
|
run: export DOCKER_HOST=tcp://docker-in-docker:2375
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: actions/docker-setup-buildx@v2
|
||||||
|
- name: Build and push
|
||||||
|
uses: actions/docker-build-push@v4
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: toolkit-test:${{ github.ref_name }}
|
||||||
|
- name: Inspect image
|
||||||
|
run: docker image inspect toolkit-test:${{ github.ref_name }}
|
||||||
|
|
Loading…
Reference in New Issue