New actions

This commit is contained in:
Aune 2022-12-09 11:42:46 +01:00
parent ce3800fc13
commit 31426b7e10
2 changed files with 18 additions and 9 deletions

View file

@ -9,11 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
- 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
repository: aunefyren/wrapperr
tags: beta
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
context: .
tags: aunefyren/wrapperr:beta

View file

@ -9,11 +9,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
- 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
repository: aunefyren/wrapperr
tags: latest, ${{ github.ref }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
context: .
tags: aunefyren/wrapperr:latest, aunefyren/wrapperr:${{ github.ref_name }}