Compare commits

11 Commits

Author SHA1 Message Date
Nick Trimborn
36c3489c55 updated workflow
All checks were successful
Docker Push / build (push) Successful in 39s
2023-07-20 11:16:49 +02:00
Nick Trimborn
9213b3900f updated workflow
Some checks failed
Docker Push / build (push) Failing after 32s
2023-07-20 11:13:55 +02:00
Nick Trimborn
c227745639 update meta to match x.x version numbering
Some checks failed
Docker Push / build (push) Failing after 29s
2023-07-20 11:09:34 +02:00
Nick Trimborn
d0fd783e5f updated workflow
Some checks failed
Docker Push / build (push) Failing after 28s
2023-07-20 10:59:04 +02:00
Nick Trimborn
4dc2220ed6 updated workflow
All checks were successful
Docker Push / build (push) Successful in 1m7s
2023-07-20 10:53:37 +02:00
385dd54468 Update .github/workflows/docker-deploy.yaml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s
Docker Push / build (push) Successful in 1m7s
2023-07-20 08:26:43 +00:00
8f2f0db9da Update .github/workflows/docker-deploy.yaml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s
Docker Push / build (push) Successful in 1m7s
2023-07-20 08:23:38 +00:00
97342b3bab Update .github/workflows/docker-deploy.yaml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s
Docker Push / build (push) Failing after 56s
2023-07-20 08:13:57 +00:00
be1bac4d9b updated repo
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s
Docker Push / build (push) Successful in 1m7s
2023-07-19 20:02:00 +02:00
f7c499c964 fixed indent
Some checks failed
Docker Push / build (push) Failing after 1m13s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
2023-07-19 19:50:59 +02:00
02d81ce818 fixed indent error
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s
2023-07-19 19:48:21 +02:00
2 changed files with 40 additions and 38 deletions

View File

@@ -13,20 +13,17 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
# Install the cosign tool except on PR # Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer # https://github.com/sigstore/cosign-installer
- name: Install cosign # - name: Install cosign
if: github.event_name != 'pull_request' # if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0 # uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0
with: # with:
cosign-release: 'v1.13.1' # cosign-release: 'v1.13.1'
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1
@@ -48,17 +45,22 @@ jobs:
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: | images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} git.nicktrimborn.de/nick/tasmota-power-exporter
tags: | tags: |
type=ref,event=branch type=ref,event=branch
type=ref,event=pr type=ref,event=pr
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
context: . context: .
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: |
git.nicktrimborn.de/nick/tasmota-power-exporter:latest
${{ steps.meta.outputs.tags }}
#tags: ${{ steps.meta.outputs.tags }}
#tags: git.nicktrimborn.de/nick/tasmota-power-exporter/tasmota-power-exporter:latest
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}