2022-12-07 15:17:50 +00:00
|
|
|
name: Docker Image for Releases
|
2022-12-07 14:55:10 +00:00
|
|
|
|
|
|
|
on:
|
2022-12-07 15:17:50 +00:00
|
|
|
release:
|
|
|
|
types: [published]
|
2022-12-07 14:55:10 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-12-09 10:42:46 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Login to Docker Hub
|
|
|
|
uses: docker/login-action@v2
|
2022-12-07 15:17:50 +00:00
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
registry: docker.io
|
2022-12-09 10:42:46 +00:00
|
|
|
- name: Build and push
|
|
|
|
uses: docker/build-push-action@v3
|
|
|
|
with:
|
|
|
|
push: true
|
|
|
|
context: .
|
|
|
|
tags: aunefyren/wrapperr:latest, aunefyren/wrapperr:${{ github.ref_name }}
|