Skip to content

Commit

Permalink
lowercase and remove metadata action
Browse files Browse the repository at this point in the history
  • Loading branch information
CindyvdVries committed Jun 14, 2024
1 parent a6f95c7 commit e631f13
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: downcase REPO
run: |
echo "IMAGE_NAME=${IMAGE_NAME,,}" >>${GITHUB_ENV}
- name: checkout code
uses: actions/checkout@v4
with:
Expand All @@ -34,13 +37,6 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata for the Docker image
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push the Docker image
uses: docker/build-push-action@v5
with:
Expand All @@ -49,4 +45,3 @@ jobs:
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.PROJECT_VERSION }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit e631f13

Please sign in to comment.