2025-04-02 18:20:30 +02:00
|
|
|
name: build-airflow-image
|
|
|
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
2025-04-02 18:21:31 +02:00
|
|
|
runs-on: catthehacker
|
2025-04-02 18:20:30 +02:00
|
|
|
steps:
|
|
|
|
|
- name: Checkout the repo
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
- name: Login to the registry
|
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
|
with:
|
|
|
|
|
registry: ${{ env.REGISTRY }}
|
|
|
|
|
username: ${{ github.actor }}
|
|
|
|
|
password: ${{ secrets.PACKAGE_TOKEN }}
|
2025-04-02 19:01:38 +02:00
|
|
|
- name: Build and Pus
|
2025-04-02 18:20:30 +02:00
|
|
|
uses: docker/build-push-action@v6
|
|
|
|
|
with:
|
|
|
|
|
push: true
|
|
|
|
|
context: swiss-army-knife
|
|
|
|
|
file: Dockerfile-alpine
|