Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
luclaurent committed Dec 14, 2024
1 parent 4a77348 commit 53aa069
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
# branches:
# - 'master'
# tags:
# - 'v*'
tags:
- 'v*'


jobs:
Expand All @@ -32,14 +32,14 @@ jobs:
- name: 'Build:dockerimage'
id: docker_build
uses: docker/build-push-action@master
# with:
# # relative path to the place where source code with Dockerfile is located
# context: ./docker
# tags: ghcr.io/${{ github.repository_owner }}/amc2moodle:${{ steps.docker-tag.outputs.tag }},ghcr.io/${{ github.repository_owner }}/amc2moodle:latest
# push: true
# cache-from: type=gha
# cache-to: type=gha
# # # build on feature branches, push only on main branch
# # push: ${{ github.ref == 'refs/heads/main' }}
with:
# relative path to the place where source code with Dockerfile is located
context: ./docker
tags: ghcr.io/${{ github.repository_owner }}/amc2moodle:${{ steps.docker-tag.outputs.tag }},ghcr.io/${{ github.repository_owner }}/amc2moodle:latest
push: true
cache-from: type=gha
cache-to: type=gha
# # build on feature branches, push only on main branch
# push: ${{ github.ref == 'refs/heads/main' }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit 53aa069

Please sign in to comment.