Files
imagepullsecret-injector/.github/workflows/release-docker.yaml
Martin Šalata 8827431f76 Fix Makefile
2022-06-13 15:09:55 +02:00

30 lines
687 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 docker-image
env:
DOCKER_USER: ${GITHUB_ACTOR}
DOCKER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Logout from dockerhub (make docker-logout)
run: make docker-logout