Working ci?

Pwease
This commit is contained in:
Michael Rodin 2023-10-20 00:34:35 +02:00
parent 958c5db462
commit 97e957d915

View file

@ -1,22 +1,20 @@
name: Build and Push Image with Buildah name: Build and push Docker image
on: [ push ]
on:
push:
branches:
- 'main'
jobs: jobs:
build: docker:
name: Build and push image
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 -
name: Set up Docker Buildx
- name: Build Image uses: docker/setup-buildx-action@v2
id: build-image -
uses: redhat-actions/buildah-build@v2 name: Build and push
uses: docker/build-push-action@v4
with: with:
image: my-app push: true
tags: latest ${{ github.sha }} tags: git.marcelsite.com/marcel/rar-index-app:latest
containerfiles: |
./Containerfile
- name: Print image url
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"