Update .gitea/workflows/build-and-push.yaml
Some checks failed
Build and Push Container Image / build-and-push (push) Failing after 7s
Some checks failed
Build and Push Container Image / build-and-push (push) Failing after 7s
This commit is contained in:
@@ -10,8 +10,14 @@ on:
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: orchestration-platform
|
||||
container:
|
||||
image: docker:latest
|
||||
options: -v /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
steps:
|
||||
- name: Install git
|
||||
run: apk add --no-cache git
|
||||
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git clone --branch "${GITHUB_REF_NAME}" "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" .
|
||||
|
||||
Reference in New Issue
Block a user