fix publish?
This commit is contained in:
parent
dd666a0266
commit
f073ceab52
1 changed files with 11 additions and 9 deletions
|
|
@ -1,22 +1,24 @@
|
||||||
name: build-airflow-image
|
name: build-airflow-image
|
||||||
|
|
||||||
on: push
|
on: push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
build:
|
||||||
runs-on: catthehacker
|
runs-on: catthehacker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repo
|
- name: Checkout the repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Login to the registry
|
- name: Setup Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
- name: Login to Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: harbor.tech-tales.blog
|
||||||
username: ${{ github.actor }}
|
username: robot$chris+airflow-pusher
|
||||||
password: ${{ secrets.PACKAGE_TOKEN }}
|
password: ${{ secrets.HARBOR_PASSWORD }}
|
||||||
- name: Build and Pus
|
- name: Build and Push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: swiss-army-knife
|
tags: harbor.tech-tales.blog/chris/airflow:${{ steps.extract_tag.outputs.tag }}
|
||||||
file: Dockerfile-alpine
|
context: airflow-image
|
||||||
|
file: airflow-image/Dockerfile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue