Skip to content

cleanup: retired .circleci/config.yml #32

cleanup: retired .circleci/config.yml

cleanup: retired .circleci/config.yml #32

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 }}