Skip to content

Commit

Permalink
update GitHub action
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Stadler <[email protected]>
  • Loading branch information
peterstadler committed Apr 16, 2024
1 parent 69a645c commit 7e7cbe9
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,13 @@ name: Docker Image CI

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: cartographer-app
# run: docker build . -t cartographer-app
#- run: docker-compose up -d --build
# Login against DockerHub registry
# - name: Log in to DockerHub
# uses: docker/login-action@v2
# with:
# username: vifebot
# password: ${{ secrets.VIFEBOT_DOCKERHUB_TOKEN }}
- name: Log in to GitHub Container registry
uses: docker/login-action@v3
with:
Expand All @@ -38,7 +26,7 @@ jobs:
# and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
Expand Down

0 comments on commit 7e7cbe9

Please sign in to comment.