Skip to content

Commit dbb2d3d

Browse files
authored
v3.3.5 (#84)
Minor updates * Using latest base image Build updates * Updating checkout action to v3 * Adding auto pr and auto release workflows
1 parent b55afcc commit dbb2d3d

File tree

6 files changed

+48
-5
lines changed

6 files changed

+48
-5
lines changed

.github/workflows/auto-pr.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: auto-pr
2+
3+
on:
4+
create
5+
6+
jobs:
7+
create-pr:
8+
runs-on: ubuntu-latest
9+
if: ${{ github.ref_type == 'branch' }}
10+
steps:
11+
-
12+
name: Checkout Branch ${{ github.ref_name }}
13+
uses: actions/checkout@v3
14+
-
15+
name: Create Pull Request
16+
uses: bfren/pull-request@v2
17+
with:
18+
github_token: ${{ secrets.PAT }}
19+
destination_branch: main
20+
pr_title: ${{ github.ref_name }}
21+
pr_body: "Merging branch to create ${{ github.ref_name }}."

.github/workflows/auto-release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: auto-release
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
7+
jobs:
8+
create-release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
-
12+
if: github.event.pull_request.merged == true
13+
name: Get Pull Request Title
14+
run: echo "PR_TITLE=${{ github.event.pull_request.title }}" >> $GITHUB_ENV
15+
shell: bash
16+
-
17+
name: Create Release ${{ env.PR_TITLE }}
18+
uses: bfren/action-gh-release@v1
19+
with:
20+
token: ${{ secrets.PAT }}
21+
name: ${{ env.PR_TITLE }}
22+
tag_name: ${{ env.PR_TITLE }}

.github/workflows/dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
steps:
1313
-
1414
name: Checkout code
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
build:
1717
runs-on: ubuntu-latest
1818
steps:
1919
-
2020
name: Checkout code
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222
-
2323
name: Get repository name
2424
run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
-
1313
name: Checkout code
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515
-
1616
name: Get repository name
1717
run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bfren/nginx:nginx1.20-3.1.4
1+
FROM bfren/nginx:nginx1.20-3.1.5
22

33
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-proxy"
44

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.4
1+
3.3.5

0 commit comments

Comments
 (0)