We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71c444a commit 5650d3fCopy full SHA for 5650d3f
1 file changed
.github/workflows/empty.yml
@@ -23,10 +23,16 @@ jobs:
23
username: ${{ github.actor }}
24
password: ${{ secrets.GITHUB_TOKEN }}
25
26
- - name: Create and Push Placeholder
+ - name: Create Placeholder
27
run: |
28
echo "FROM scratch" > Dockerfile
29
echo "LABEL placeholder=true" >> Dockerfile
30
31
- docker build -t ghcr.io/zenfyrdev/${{ github.event.inputs.image_name }}:latest .
32
- docker push ghcr.io/zenfyrdev/${{ github.event.inputs.image_name }}:latest
+ - name: Build and push dummy image
+ uses: docker/build-push-action@v4
33
+ with:
34
+ context: .
35
+ file: ./Dockerfile
36
+ push: true
37
+ tags: |
38
+ ghcr.io/${{ github.repository_owner }}/${{ github.event.inputs.image_name }}:latest
0 commit comments