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
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
build:
|
||||
runs-on: catthehacker
|
||||
steps:
|
||||
- name: Checkout the repo
|
||||
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
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.PACKAGE_TOKEN }}
|
||||
- name: Build and Pus
|
||||
registry: harbor.tech-tales.blog
|
||||
username: robot$chris+airflow-pusher
|
||||
password: ${{ secrets.HARBOR_PASSWORD }}
|
||||
- name: Build and Push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
context: swiss-army-knife
|
||||
file: Dockerfile-alpine
|
||||
tags: harbor.tech-tales.blog/chris/airflow:${{ steps.extract_tag.outputs.tag }}
|
||||
context: airflow-image
|
||||
file: airflow-image/Dockerfile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue