wrapperr/.github/workflows/docker-image.yml
2022-12-09 11:42:46 +01:00

24 lines
No EOL
562 B
YAML

name: Docker Image for Releases
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: docker.io
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
context: .
tags: aunefyren/wrapperr:latest, aunefyren/wrapperr:${{ github.ref_name }}