Skip to content

Bump vendor/github.com/feedbin/feedbin from 887e41f to d6d28ee #635

Bump vendor/github.com/feedbin/feedbin from 887e41f to d6d28ee

Bump vendor/github.com/feedbin/feedbin from 887e41f to d6d28ee #635

Workflow file for this run

name: build
on:
push:
branches:
- '**'
tags:
- 'v*.*.*'
pull_request:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Docker Metadata
id: docker-metadata
uses: docker/metadata-action@v4
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=edge
type=ref,event=branch
type=ref,event=pr
type=schedule
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
- name: Build
uses: docker/build-push-action@v4
with:
context: .
push: false
tags: localhost/feedbin:edge
- name: Force Rootful Native OverlayFS
run: |-
printf '%s\n' '#!/bin/sh' 'exec /usr/bin/sudo -n -- /usr/bin/buildah "$@"' | sudo tee /usr/local/bin/buildah
printf '%s\n' '#!/bin/sh' 'exec /usr/bin/sudo -n -- /usr/bin/podman "$@"' | sudo tee /usr/local/bin/podman
printf '%s\n' '#!/bin/sh' 'exec /usr/bin/sudo -n -- /usr/bin/skopeo "$@"' | sudo tee /usr/local/bin/skopeo
sudo chmod a+x /usr/local/bin/buildah /usr/local/bin/podman /usr/local/bin/skopeo
- name: Build
uses: redhat-actions/buildah-build@v2
with:
tags: ${{ steps.docker-metadata.outputs.tags }}
labels: ${{ steps.docker-metadata.outputs.labels }}
containerfiles: |-
Containerfile
extra-args: |-
--cap-add=sys_admin,mknod
--volume /var/run/docker.sock:/var/run/docker.sock
- name: Push
if: ${{ github.event_name != 'pull_request' && github.actor != 'dependabot[bot]' }}
uses: redhat-actions/push-to-registry@v2
with:
tags: ${{ steps.docker-metadata.outputs.tags }}
username: ${{ github.actor }}
password: ${{ github.token }}