All checks were successful
Create and publish container / build_container (push) Successful in 2m45s
18 lines
579 B
YAML
18 lines
579 B
YAML
name: Create and publish container
|
|
on:
|
|
push
|
|
jobs:
|
|
build_container:
|
|
runs_on: ubuntu-latest
|
|
steps:
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@v6
|
|
with:
|
|
ref: main
|
|
# - name: Debug printing
|
|
# run: echo ${{ vars.REGISTRY_USER_USERNAME }} echo ${{ secrets.REGISTRY_USER_PASSWORD }}
|
|
- name: Build and upload image
|
|
run: |
|
|
docker login ${{ vars.REGISTRY_URL }} -u ${{ vars.REGISTRY_USER_USERNAME }} -p "${{ secrets.REGISTRY_USER_PASSWORD }}"
|
|
./build-image.sh ${{ vars.REGISTRY_NAME }}
|