testing action
Gitea Actions Demo / Push docker image to container registry (push) Failing after 5s Details

docker
spinach 1 year ago
parent 0b40dcc3cb
commit 7e81a18370

@ -9,26 +9,14 @@ jobs:
push_to_registry:
name: Push docker image to container registry
runs-on: ubuntu-latest
defaults:
run:
working-directory: /repo
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: name/app
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
- name: Deploy
run: |
docker build -t kdeppe/dotfiles:latest .
docker push kdeppe/dotfiles

Loading…
Cancel
Save