Update GitHub Actions workflow to use Docker as the runner environment and fix secret variable references
Some checks failed
Push Docker image / build (push) Failing after 1m31s
Some checks failed
Push Docker image / build (push) Failing after 1m31s
This commit is contained in:
parent
581c39d507
commit
dc6ba12548
1 changed files with 5 additions and 3 deletions
|
@ -5,15 +5,17 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: catthehacker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Login to Docker Hub
|
name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: code.edgarpierre.fr
|
registry: code.edgarpierre.fr
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ vars.DOCKER_PUSH_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PUSH_PASSWORD }}
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue