Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Try with different docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
SydZero committed Sep 16, 2024
1 parent 1f6f955 commit 12b16b3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
file: .devcontainer/Dockerfile.codespace
file: Dockerfile
push: false
tags: ghcr.io/ncar/music-box:build-temp
tags: ghcr.io/ncar/chemistry-cafe-api:build-temp

- name: Build and push Docker image (latest)
if: github.ref == 'refs/heads/main'
uses: docker/build-push-action@v4
with:
context: .
file: .devcontainer/Dockerfile.codespace
file: Dockerfile
push: true
tags: ghcr.io/ncar/music-box:latest
tags: ghcr.io/ncar/chemistry-cafe-api:latest

- name: Build and push Docker image (tagged)
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v4
with:
context: .
file: .devcontainer/Dockerfile.codespace
file: Dockerfile
push: true
tags: ghcr.io/ncar/music-box:${{ github.ref_name }}
tags: ghcr.io/ncar/chemistry-cafe-api:${{ github.ref_name }}

0 comments on commit 12b16b3

Please sign in to comment.