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 }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.RUNNER_TOKEN }}
|
password: ${{ secrets.RUNNER_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and Push Image
|
||||||
uses: docker/build-push-action@v4
|
run: |
|
||||||
with:
|
docker build -t gitea.nelson-household.com/joseph.nelson4456/koillection-uploader/koillection-uploader:${{ github.sha }} .
|
||||||
context: .
|
docker push gitea.nelson-household.com/joseph.nelson4456/koillection-uploader/koillection-uploader:${{ github.sha }}
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user