Skip to content

Commit

Permalink
Prueba 001
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Sep 25, 2024
1 parent 7307148 commit 1e10e97
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/prueba.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Prueba

on:
push:
branches:
- dev/prueba

permissions:
contents: read
id-token: write
packages: write

jobs:
docker:
runs-on: ubuntu-latest
environment: release
steps:
- name: "Check out source code"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: Capture Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/artefactual-labs/a3m
tags: |
type=semver,pattern={{raw}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 1e10e97

Please sign in to comment.