mirror of
https://github.com/aunefyren/wrapperr
synced 2024-12-14 05:12:27 +00:00
New actions
This commit is contained in:
parent
ce3800fc13
commit
31426b7e10
2 changed files with 18 additions and 9 deletions
14
.github/workflows/docker-image-beta.yml
vendored
14
.github/workflows/docker-image-beta.yml
vendored
|
@ -9,11 +9,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: docker/build-push-action@v1
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
registry: docker.io
|
- name: Build and push
|
||||||
repository: aunefyren/wrapperr
|
uses: docker/build-push-action@v3
|
||||||
tags: beta
|
with:
|
||||||
|
push: true
|
||||||
|
context: .
|
||||||
|
tags: aunefyren/wrapperr:beta
|
13
.github/workflows/docker-image.yml
vendored
13
.github/workflows/docker-image.yml
vendored
|
@ -9,11 +9,16 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: docker/build-push-action@v1
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: aunefyren/wrapperr
|
- name: Build and push
|
||||||
tags: latest, ${{ github.ref }}
|
uses: docker/build-push-action@v3
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
context: .
|
||||||
|
tags: aunefyren/wrapperr:latest, aunefyren/wrapperr:${{ github.ref_name }}
|
Loading…
Reference in a new issue