test workflow build and push on gitea registry
This commit is contained in:
parent
ad69095f72
commit
9cbce9c764
|
@ -15,18 +15,6 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
login_docker_registry:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: ghcr.io/catthehacker/ubuntu:act-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Login to Docker Registry
|
|
||||||
uses: docker/login-action@v2
|
|
||||||
with:
|
|
||||||
registry: git.coopgo.io
|
|
||||||
username: ncaron
|
|
||||||
password: 6744954b4a3a43422e62e8d110f90de527ce094d
|
|
||||||
|
|
||||||
build_and_push_image:
|
build_and_push_image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: docker:latest
|
container: docker:latest
|
||||||
|
@ -57,6 +45,13 @@ jobs:
|
||||||
- name: Verify Docker installation
|
- name: Verify Docker installation
|
||||||
run: docker --version
|
run: docker --version
|
||||||
|
|
||||||
|
- name: Login to Docker Registry
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: git.coopgo.io
|
||||||
|
username: ncaron
|
||||||
|
password: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt update
|
||||||
|
|
Loading…
Reference in New Issue