Merge pull request 'Added Forgejo workflows' (#1) from feature/workflows into master
Test / test_build (push) Successful in 3m23s
Details
Test / test_build (push) Successful in 3m23s
Details
Reviewed-on: #1pull/2/head
commit
9112ec6f5d
|
@ -0,0 +1,26 @@
|
||||||
|
name: Release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_push:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: git.gertjankrol.nl/docker/toolkit:latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Docker login
|
||||||
|
uses: actions/docker-login@v2
|
||||||
|
with:
|
||||||
|
registry: ${{secrets.DOCKER_REGISTRY}}
|
||||||
|
username: ${{secrets.DOCKER_USERNAME}}
|
||||||
|
password: ${{secrets.DOCKER_PASSWORD}}
|
||||||
|
- name: Build and push Unbound image
|
||||||
|
uses: actions/docker-build-push@v4
|
||||||
|
with:
|
||||||
|
tags: |
|
||||||
|
${{secrets.DOCKER_REGISTRY}}/${{github.repository}}:${{github.ref_name}}
|
||||||
|
${{secrets.DOCKER_REGISTRY}}/${{github.repository}}:latest
|
||||||
|
push: true
|
|
@ -0,0 +1,20 @@
|
||||||
|
name: Test
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test_build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: git.gertjankrol.nl/docker/toolkit:latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Build Unbound image
|
||||||
|
uses: actions/docker-build-push@v4
|
||||||
|
with:
|
||||||
|
tags: unbound-test:${{github.ref_name}}
|
||||||
|
push: false
|
||||||
|
- name: Unbound image details
|
||||||
|
run: docker image inspect unbound-test:${{github.ref_name}}
|
Loading…
Reference in New Issue