This commit is contained in:
parent
1a1b9d6a55
commit
6ae9f6bce6
1 changed files with 6 additions and 39 deletions
45
.github/workflows/.github-ci.yaml
vendored
45
.github/workflows/.github-ci.yaml
vendored
|
@ -7,33 +7,21 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Repository meta
|
-
|
||||||
|
name: Repository meta
|
||||||
id: repository
|
id: repository
|
||||||
run: |
|
run: |
|
||||||
registry=${{ github.server_url }}
|
registry=${{ github.server_url }}
|
||||||
registry=${registry##http*://}
|
registry=${registry##http*://}
|
||||||
echo "registry=${registry}" >> "$GITHUB_OUTPUT"
|
echo "registry=${registry}" | tee "$GITHUB_OUTPUT"
|
||||||
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
|
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
|
||||||
echo "repository=${repository}" >> "$GITHUB_OUTPUT"
|
echo "repository=${repository}" | tee "$GITHUB_OUTPUT"
|
||||||
|
-
|
||||||
- name: Docker meta
|
name: Docker meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
id: docker
|
id: docker
|
||||||
with:
|
with:
|
||||||
images: ${{ steps.repository.outputs.registry }}/${{ steps.repository.outputs.repository }}
|
images: ${{ steps.repository.outputs.registry }}/${{ steps.repository.outputs.repository }}
|
||||||
|
|
||||||
-
|
|
||||||
name: Login to registry
|
|
||||||
run: |
|
|
||||||
echo
|
|
||||||
#docker network ls
|
|
||||||
#docker network inspect bridge
|
|
||||||
#docker network inspect host
|
|
||||||
#apt update -y
|
|
||||||
#apt install -y net-tools curl
|
|
||||||
#ifconfig
|
|
||||||
#curl https://google.com
|
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Login to registry
|
name: Login to registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
@ -53,24 +41,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.docker.outputs.tags }}
|
tags: ${{ steps.docker.outputs.tags }}
|
||||||
|
|
||||||
#-
|
|
||||||
# name: Login to registry
|
|
||||||
# uses: docker/login-action@v3
|
|
||||||
# with:
|
|
||||||
# registry: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live
|
|
||||||
# username: ${{ github.repository }}
|
|
||||||
# password: ${{ secrets.PACKAGES_TEST_TOKEN }}
|
|
||||||
#-
|
|
||||||
# name: Set up QEMU
|
|
||||||
# uses: docker/setup-qemu-action@v3
|
|
||||||
#-
|
|
||||||
# name: Set up Docker Buildx
|
|
||||||
# uses: docker/setup-buildx-action@v3
|
|
||||||
#-
|
|
||||||
# name: Build and push
|
|
||||||
# uses: docker/build-push-action@v6
|
|
||||||
# with:
|
|
||||||
# push: true
|
|
||||||
# tags: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/${{ github.repository }}/apptest:latest
|
|
||||||
|
|
Loading…
Reference in a new issue