mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2024-12-27 02:43:45 +02:00
push to dockerhub tagged with branch name
This commit is contained in:
parent
f2a3dc0ec3
commit
858401c0cf
5
.github/workflows/test-workflow.yml
vendored
5
.github/workflows/test-workflow.yml
vendored
@ -60,9 +60,10 @@ jobs:
|
||||
docker-push:
|
||||
needs: [test-npm, test-go]
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
|
||||
if: github.event_name == 'push' && github.ref != 'refs/heads/master'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: rlespinasse/github-slug-action@v3.x
|
||||
- uses: actions/setup-node@v1
|
||||
- uses: actions/setup-go@v2
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
@ -78,4 +79,4 @@ jobs:
|
||||
context: ./docker/
|
||||
file: ./docker/Dockerfile-local
|
||||
push: true
|
||||
tags: ofsm/ofsm:develop
|
||||
tags: ofsm/ofsm:${{ env.GITHUB_REF_SLUG }}
|
||||
|
Loading…
Reference in New Issue
Block a user