publish step
This commit is contained in:
parent
00e5d95af1
commit
45496a6fd9
1 changed files with 24 additions and 0 deletions
24
.forgejo/workflows/docker.yaml
Normal file
24
.forgejo/workflows/docker.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: build-airflow-image
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout the repo
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Login to the registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.PACKAGE_TOKEN }}
|
||||
- name: Build and Push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
context: swiss-army-knife
|
||||
file: Dockerfile-alpine
|
||||
Loading…
Add table
Add a link
Reference in a new issue