Action: build custom image
Some checks failed
Build and push runner-custom image / publish (push) Failing after 2m4s
Some checks failed
Build and push runner-custom image / publish (push) Failing after 2m4s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user