Skip to content

Commit

Permalink
Merge branch 'master' of github.com:UniversityOfHelsinkiCS/kliksutin
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Mar 24, 2023
2 parents 5186946 + 72bceb2 commit 7090634
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,21 @@ jobs:
test:
uses: ./.github/workflows/test.yml

dockerhub-release:
build-and-push:
runs-on: ubuntu-latest
needs: test

steps:
- uses: actions/checkout@v3

- name: Login to DockerHub
uses: docker/login-action@v2
- name: Build image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
tags: toska/kliksutin:production
image: kliksutin
tags: production ${{ github.sha }}
containerfiles: |
./Dockerfile
build-args: |
BASE_PATH=/
GIT_SHA=${{ github.sha }}
Expand Down

0 comments on commit 7090634

Please sign in to comment.