diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index 31c691f..71fb537 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -7,33 +7,21 @@ jobs: runs-on: ubuntu-22.04 steps: - - name: Repository meta + - + name: Repository meta id: repository run: | registry=${{ github.server_url }} registry=${registry##http*://} - echo "registry=${registry}" >> "$GITHUB_OUTPUT" + echo "registry=${registry}" | tee "$GITHUB_OUTPUT" repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" - echo "repository=${repository}" >> "$GITHUB_OUTPUT" - - - name: Docker meta + echo "repository=${repository}" | tee "$GITHUB_OUTPUT" + - + name: Docker meta uses: docker/metadata-action@v5 id: docker with: 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 uses: docker/login-action@v3 @@ -53,24 +41,3 @@ jobs: with: push: true 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 - \ No newline at end of file