Action: build custom image
Some checks failed
Build and push runner-custom image / publish (push) Failing after 2m4s

This commit is contained in:
Jérémie SALVI
2024-12-21 19:34:34 +01:00
parent 4e46157db3
commit 27f4849b79

View File

@@ -8,12 +8,11 @@ jobs:
if: gitea.ref == 'refs/heads/main' if: gitea.ref == 'refs/heads/main'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "${{ secrets.ACCESS_TOKEN }}"
- run: pwd
- run: |
cd ${{ gitea.workspace }}
- run: |
pwd
- run: | - run: |
echo "${{ secrets.ACCESS_TOKEN }}" | docker login --username beastie --password-stdin https://git.unixyourbrain.org/ echo "${{ secrets.ACCESS_TOKEN }}" | docker login --username beastie --password-stdin https://git.unixyourbrain.org/
- run: |
docker build -t git.unixyourbrain.org/beastie/runner-custom:latest .
- run: |
docker push git.unixyourbrain.org/beastie/runner-custom:latest .
- run: |
docker logout