Files
gitea-workspaces/.gitea/workflows/release-tag.yml
KoCoder a773032a8e
All checks were successful
build-docker-imge / Build the docker container (push) Successful in 6s
DEBUG Output
2024-07-03 23:03:29 +02:00

23 lines
758 B
YAML

name: build-docker-imge
on:
- push
- pull_request
jobs:
build:
name: Build the docker container
runs-on: ubuntu-latest
steps:
- name: "Print env"
run: echo WORKSPACE ${{ GITEA_WORKSPACE }} REPO ${{ GITEA_REPOSITORY }} REF ${{ GITEA_REF }}
- name: "Git clone"
run: git clone ${{ GITEA_REPOSITORY }}
- name: "Git switch"
run: git switch ${{ GITEA_REF }}
- name: "LS"
run: "ls"
# - uses: docker/setup-buildx-action@v3
# name: Setup docker buildx
# - run: docker build . -t git.kocoder.xyz/kocoded/gitea-workspaces:${{ var.GITEA_SHA }}
# name: Build the docker container
# - run: docker push git.kocoder.xyz/kocoded/gitea-workspaces:${{ var.GITEA_SHA }}