Skip to content

Commit

Permalink
tweak docker steps (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwood77 committed Apr 9, 2024
1 parent 061fe98 commit 487406d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
push:
branches:
- 'main'
tags:
- "v*.*.*"
release:
types: [published]

Expand Down Expand Up @@ -34,13 +36,14 @@ jobs:
with:
images: ${{ secrets.DOCKERHUB_USERNAME }}/pf2opn
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
# dynamically set the branch name as a prefix
type=sha,prefix={{branch}}-
# dynamically set the branch name
type=raw,value={{branch}}-latest
# set the latest branch name
type=raw,value=latest
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A simple pfsense to opnsense config mapper.

### Run it with docker:
```
docker run --name pf2opn -p 4200:80 -d mwood77/pf2opn
docker run --name pf2opn -p 4200:80 -d mwood77/pf2opn:latest
```

### Use it on the web:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pf2open",
"version": "0.1.8",
"version": "0.1.9",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down

0 comments on commit 487406d

Please sign in to comment.