Update CI file. Removed unneded files. #65
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -27,10 +27,10 @@ jobs:
|
||||
ansible-galaxy collection install ansible.posix --force
|
||||
- name: "Enable Corepack"
|
||||
run: corepack enable
|
||||
- name: Log into registry ${{ env.HUB_USER }}
|
||||
- name: Log into registry ${{ env.REGISTRY }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ${{ env.HUB_USER }}
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ env.HUB_USER }}
|
||||
password: ${{ secrets.HUB_TOKEN }}
|
||||
- name: "Setup Docker buildx"
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
with:
|
||||
images: ${{ env.HUB_USER }}/${{ env.IMAGE_NAME }}
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
- name: "Build and Push Versioned Docker Image"
|
||||
id: build-and-push
|
||||
uses: docker/build-push-action@v4
|
||||
@@ -56,5 +56,5 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ env.HUB_USER }}/${{ env.IMAGE_NAME }}:latest
|
||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
Reference in New Issue
Block a user