test workflow build and push on gitea registry
Build and Push Docker Image / test (push) Failing after 9s
Details
Build and Push Docker Image / test (push) Failing after 9s
Details
This commit is contained in:
parent
f1c77bfebf
commit
62a756d2f3
|
@ -23,34 +23,26 @@ jobs:
|
||||||
pwd
|
pwd
|
||||||
ls -la
|
ls -la
|
||||||
|
|
||||||
- name: test
|
- name: Install Docker
|
||||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
|
||||||
imagePullPolicy: Always
|
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
|
||||||
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||||
|
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install docker-ce
|
||||||
docker --version
|
docker --version
|
||||||
pwd
|
|
||||||
ls -la
|
|
||||||
|
|
||||||
- name: Login to Docker Registry
|
- name: Login to Docker Registry
|
||||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
|
||||||
imagePullPolicy: Always
|
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: git.coopgo.io
|
registry: git.coopgo.io
|
||||||
username: ncaron
|
username: ncaron
|
||||||
password: 6744954b4a3a43422e62e8d110f90de527ce094d
|
password: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||||
|
|
||||||
- name: runner
|
- name: Docker Build
|
||||||
image: docker:20.10.7
|
|
||||||
imagePullPolicy: Always
|
|
||||||
run: |
|
run: |
|
||||||
docker --version
|
docker build -t git.coopgo.io/coopgo-platform/mobility-accounts:test --build-arg ACCESS_TOKEN
|
||||||
dockerd &
|
|
||||||
pwd
|
|
||||||
ls -la
|
|
||||||
docker buildx build -t git.coopgo.io/coopgo-platform/mobility-accounts:test .
|
|
||||||
|
|
||||||
|
|
||||||
# checkout_repository:
|
# checkout_repository:
|
||||||
# runs-on:
|
# runs-on:
|
||||||
# group: ubuntu-latest
|
# group: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue