Working ci?
Pwease
This commit is contained in:
parent
958c5db462
commit
97e957d915
1 changed files with 16 additions and 18 deletions
|
@ -1,22 +1,20 @@
|
|||
name: Build and Push Image with Buildah
|
||||
on: [ push ]
|
||||
name: Build and push Docker image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and push image
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build Image
|
||||
id: build-image
|
||||
uses: redhat-actions/buildah-build@v2
|
||||
with:
|
||||
image: my-app
|
||||
tags: latest ${{ github.sha }}
|
||||
containerfiles: |
|
||||
./Containerfile
|
||||
|
||||
- name: Print image url
|
||||
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
tags: git.marcelsite.com/marcel/rar-index-app:latest
|
Loading…
Add table
Reference in a new issue