Skip to content

Bump http-cache-semantics from 4.1.0 to 4.1.1 (#17) #31

Bump http-cache-semantics from 4.1.0 to 4.1.1 (#17)

Bump http-cache-semantics from 4.1.0 to 4.1.1 (#17) #31

Workflow file for this run

name: ci
on:
push:
branches:
- 'master'
- 'trunk'
tags:
- 'v*'
pull_request:
branches:
- 'master'
- 'trunk'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ vars.DOCKERHUB_TEMPLATE }}
-
name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}, ${{ vars.DOCKERHUB_TEMPLATE }}:latest
labels: ${{ steps.meta.outputs.labels }}