From 90ac4023eb46089dbe37963ad093a850ae34c79d Mon Sep 17 00:00:00 2001 From: bfren Date: Mon, 13 Feb 2023 09:18:11 +0000 Subject: [PATCH] v1.0.19 (#21) Minor updates * Using latest base image Build updates * Adding update readme action * Updating build push action --- .github/workflows/dev.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/update-readme.yml | 31 +++++++++++++++++++++++++++++ Dockerfile | 2 +- VERSION | 2 +- 5 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/update-readme.yml diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 41db6f2..e1f67b5 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -44,7 +44,7 @@ jobs: - name: Build and push id: docker_build - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: build-args: | BF_IMAGE=${{ env.REPOSITORY_NAME }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 88241a4..5382f9a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -67,7 +67,7 @@ jobs: - name: Build and push id: docker_build - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: build-args: | BF_IMAGE=${{ env.REPOSITORY_NAME }} diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml new file mode 100644 index 0000000..14fd935 --- /dev/null +++ b/.github/workflows/update-readme.yml @@ -0,0 +1,31 @@ +name: update-readme + +on: + release: + types: [published] + workflow_dispatch: + +jobs: + update_readme: + runs-on: ubuntu-latest + steps: + - + name: Get repository name + run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | sed "s/bfren\/docker-//")" >> $GITHUB_ENV + shell: bash + - + name: Checkout code + uses: actions/checkout@v3 + - + name: Login to DockerHub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Update repo description with README.md + uses: peter-evans/dockerhub-description@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: bfren/${{ env.REPOSITORY_NAME }} diff --git a/Dockerfile b/Dockerfile index 00ecd60..741b1e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM bfren/node:node16-2.1.9 +FROM bfren/node:node16-2.1.10 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-send" diff --git a/VERSION b/VERSION index c678b02..e7ad390 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.18 \ No newline at end of file +1.0.19 \ No newline at end of file