Skip to content

Commit 9bf4795

Browse files
committed
update GitHub Actions workflow to use updated checkout and Docker build actions
1 parent fb8ebc4 commit 9bf4795

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

‎.github/workflows/docker-image.yml‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v1
18-
- run: docker build . --file Dockerfile --tag vfb-pipeline-dumps:${GITHUB_REF#refs/heads/}
19-
- name: Dockerize
20-
if: success()
21-
uses: manusa/actions-publish-docker@v1.1.2
17+
uses: actions/checkout@v4
18+
- name: Build and push
19+
uses: docker/build-push-action@v5
2220
with:
23-
name: virtualflybrain/vfb-pipeline-dumps
21+
context: .
22+
file: ./Dockerfile
23+
push: true
24+
tags: virtualflybrain/vfb-pipeline-dumps:${GITHUB_REF#refs/heads/}
2425
username: ${{ secrets.DOCKER_HUB_USER }}
2526
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
2627

0 commit comments

Comments
 (0)