From 31426b7e1044b8bfe64ca3cfbe3679869b496674 Mon Sep 17 00:00:00 2001 From: Aune Date: Fri, 9 Dec 2022 11:42:46 +0100 Subject: [PATCH] New actions --- .github/workflows/docker-image-beta.yml | 14 +++++++++----- .github/workflows/docker-image.yml | 13 +++++++++---- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker-image-beta.yml b/.github/workflows/docker-image-beta.yml index b893a14..a96a82b 100644 --- a/.github/workflows/docker-image-beta.yml +++ b/.github/workflows/docker-image-beta.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c08d079..f0c3ed9 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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 }} \ No newline at end of file