Skip to content

Handle non existing redis keys (#63) #2

Handle non existing redis keys (#63)

Handle non existing redis keys (#63) #2

Workflow file for this run

name: Docker Build and Push
on:
push:
tags:
- 'v*.*.*'
jobs:
build_and_push:
name: πŸ‹ Build and push
runs-on: ubuntu-latest
steps:
- name: πŸ“« Checkout
uses: actions/[email protected]
- name: πŸ’‰ Inject slug/short variables
uses: rlespinasse/[email protected]
with:
short-length: 8
- name: 🏷️ Set up tags
id: meta
uses: docker/[email protected]
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/younited/pyredis-dump
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: βš™οΈ Set up QEMU
uses: docker/[email protected]
- name: βš™οΈ Set up Docker Buildx
uses: docker/[email protected]
- name: πŸ”‘ Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: πŸ‹ Build and push
uses: docker/[email protected]
with:
file: ./Dockerfile
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}