mirror of
https://github.com/aunefyren/wrapperr
synced 2025-03-04 14:37:14 +00:00
Update docker-image.yml
This commit is contained in:
parent
8c947a1096
commit
bd657bf2ca
1 changed files with 11 additions and 10 deletions
21
.github/workflows/docker-image.yml
vendored
21
.github/workflows/docker-image.yml
vendored
|
@ -1,18 +1,19 @@
|
|||
name: Docker Image CI
|
||||
name: Docker Image for Releases
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag aunefyren/wrapperr:beta
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/build-push-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
registry: docker.io
|
||||
repository: aunefyren/wrapperr
|
||||
tags: latest, ${{ github.ref }}
|
||||
|
|
Loading…
Add table
Reference in a new issue