trying a different build yaml for push
Build and Push Image / build-and-push (push) Successful in 1m28s
Build and Push Image / build-and-push (push) Successful in 1m28s
This commit is contained in:
@@ -19,11 +19,7 @@ jobs:
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.RUNNER_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags:
|
||||
ref: ${{ gitea.sha }} # Use SHA for a unique tag
|
||||
image: https://gitea.nelson-household.com/joseph.nelson4456/koillection-uploader/koillection-uploader # Adjust path/name
|
||||
- name: Build and Push Image
|
||||
run: |
|
||||
docker build -t gitea.nelson-household.com/joseph.nelson4456/koillection-uploader/koillection-uploader:${{ github.sha }} .
|
||||
docker push gitea.nelson-household.com/joseph.nelson4456/koillection-uploader/koillection-uploader:${{ github.sha }}
|
||||
|
||||
Reference in New Issue
Block a user