Files
imagepullsecret-injector/.github/workflows/release-docker.yaml
2021-04-05 22:01:05 +02:00

30 lines
680 B
YAML

name: Release docker images
on:
push:
branches:
- main
- devel
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
ref: ${{ github.ref }}
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Build and push docker images (make image)
run: make image
env:
DOCKER_USER: ${GITHUB_ACTOR}
DOCKER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Logout from dockerhub (make docker-logout)
run: make docker-logout