2.14.0 #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
release: | |
types: [created] | |
jobs: | |
docker: | |
environment: deployment | |
runs-on: ubuntu-latest | |
steps: | |
- name: QEMU setup | |
uses: docker/setup-qemu-action@v1 | |
- name: Docker Buildx Setup | |
uses: docker/setup-buildx-action@v1 | |
- name: Docker Login | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Docker Build and Push | |
id: docker_build | |
uses: docker/build-push-action@v2 | |
with: | |
push: true | |
tags: | | |
target/pod-reaper:latest | |
target/pod-reaper:${{ github.event.release.tag_name }} |