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 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

View file

@ -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 }}