Skip to content

Create FUNDING.yml

Create FUNDING.yml #20

Workflow file for this run

name: Docker Image CI
on:
push:
branches:
- master
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_LOGIN }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- uses: actions/checkout@v3
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: idrinth/walled-secrets
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}