pipeline-test-docker/.forgejo/workflows/build.yml
Oliver Lippert ea0d00e045
Some checks failed
/ docker (push) Failing after -19s
remove some debug
2024-10-12 09:43:45 +02:00

31 lines
891 B
YAML

on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-act
steps:
- name: Checkout
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1
- name: debug
shell: bash
run: |
echo "env from config: $A_TEST_ENV_NAME_1"
echo "docker host: $DOCKER_HOST"
- name: Login
uses: https://github.com/docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # 3.0.0
with:
registry: git.keine.cloud
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: https://github.com/docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # 5.1.0
with:
push: true
tags: git.keine.cloud/${{ env.GITHUB_REPOSITORY }}:latest