Set up container image for Docker-based CI workflow
All checks were successful
Build and Push Docker Images / build-and-push (push) Successful in 1m53s
All checks were successful
Build and Push Docker Images / build-and-push (push) Successful in 1m53s
Added a container image definition to use ghcr.io/catthehacker/ubuntu:act-latest in the build-and-push job. This enhances compatibility when running the workflow locally with act and ensures consistency in the execution environment. Corrected spacing in the secrets configuration for better code formatting.
This commit is contained in:
@@ -9,7 +9,8 @@ on:
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: docker
|
||||
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
@@ -21,7 +22,7 @@ jobs:
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.pragmazest.com
|
||||
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
|
||||
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_REGISTRY_ACCESS_TOKEN }}
|
||||
|
||||
- name: Extract metadata
|
||||
|
||||
Reference in New Issue
Block a user